Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ru.hh.oauth.subscribe.apis;
 
 
 public class XingApi extends DefaultApi10a {
 
     private static final String AUTHORIZE_URL = "https://api.xing.com/v1/authorize?oauth_token=%s";
 
    @Override
    public String getAccessTokenEndpoint() {
        return "https://api.xing.com/v1/access_token";
    }
    @Override
    public String getRequestTokenEndpoint() {
        return "https://api.xing.com/v1/request_token";
    }
    @Override
    public String getAuthorizationUrl(Token requestToken) {
        return String.format(requestToken.getToken());
    }
New to GrepCode? Check out our FAQ X