public final class FacebookOauth2ServiceProvider extends com.github.scribejava.apis.FacebookApi implements Oauth2ServiceProvider
| Constructor and Description |
|---|
FacebookOauth2ServiceProvider(String apiKey,
String apiSecret) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
String |
getApiSecret() |
com.google.common.base.Optional<String> |
getScope() |
OauthUserProfile |
getUserProfile(com.github.scribejava.core.oauth.OAuth20Service service,
com.github.scribejava.core.model.OAuth2AccessToken accessToken) |
getAccessTokenEndpoint, getAccessTokenVerb, getAuthorizationBaseUrl, getRefreshTokenEndpoint, instancecreateService, getAccessTokenExtractor, getAuthorizationUrlpublic static final String ID
public String getApiKey()
getApiKey in interface Oauth2ServiceProviderpublic String getApiSecret()
getApiSecret in interface Oauth2ServiceProviderpublic com.google.common.base.Optional<String> getScope()
getScope in interface Oauth2ServiceProviderpublic OauthUserProfile getUserProfile(com.github.scribejava.core.oauth.OAuth20Service service, com.github.scribejava.core.model.OAuth2AccessToken accessToken) throws IncompleteOAuthUserProfileException, IOException
getUserProfile in interface Oauth2ServiceProviderIncompleteOAuthUserProfileExceptionIOExceptionCopyright © 2017. All rights reserved.