com.github.scribejava.apis.service.TutByOAuthServiceImpl Maven / Gradle / Ivy
package com.github.scribejava.apis.service;
import com.github.scribejava.core.builder.api.DefaultApi20;
import com.github.scribejava.core.model.AbstractRequest;
import com.github.scribejava.core.model.OAuth2AccessToken;
import com.github.scribejava.core.model.OAuthConfig;
import com.github.scribejava.core.model.OAuthConstants;
import com.github.scribejava.core.oauth.OAuth20Service;
public class TutByOAuthServiceImpl extends OAuth20Service {
public TutByOAuthServiceImpl(DefaultApi20 api, OAuthConfig config) {
super(api, config);
}
@Override
public void signRequest(OAuth2AccessToken accessToken, AbstractRequest request) {
request.addQuerystringParameter(OAuthConstants.TOKEN, accessToken.getAccessToken());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy