Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ru.hh.oauth.subscribe.apis.service;
 
public class LinkedIn20ServiceImpl extends OAuth20ServiceImpl {
    public LinkedIn20ServiceImpl(final DefaultApi20 apifinal OAuthConfig config) {
        super(apiconfig);
    }
    @Override
    public void signRequest(Token accessTokenAbstractRequest request) {
        request.addQuerystringParameter("oauth2_access_token"accessToken.getToken());
    }
    @Override
    protected <T extends AbstractRequest> T createAccessTokenRequest(final Verifier verifier, T request) {
        super.createAccessTokenRequest(verifierrequest);
        if (!getConfig().hasGrantType()) {
            request.addParameter(."authorization_code");
        }
        return (T) request;
    }
New to GrepCode? Check out our FAQ X