public class GitHubOAuth2IdentityResolverService extends Object implements OAuth2IdentityResolverService
| Constructor and Description |
|---|
GitHubOAuth2IdentityResolverService() |
| Modifier and Type | Method and Description |
|---|---|
URI |
getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider) |
URI |
getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider) |
String |
getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider) |
URI |
getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider) |
String |
getType() |
Principal |
getUserPrincipal(OAuth2AuthenticationProvider<?> authenticationProvider,
String accessToken) |
void |
validate(OAuth2AuthenticationProvider<?> authProvider) |
public static final String TYPE
public void validate(OAuth2AuthenticationProvider<?> authProvider) throws IllegalConfigurationException
validate in interface OAuth2IdentityResolverServiceIllegalConfigurationExceptionpublic Principal getUserPrincipal(OAuth2AuthenticationProvider<?> authenticationProvider, String accessToken) throws IOException, IdentityResolverException
getUserPrincipal in interface OAuth2IdentityResolverServiceIOExceptionIdentityResolverExceptionpublic URI getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultAuthorizationEndpointURI in interface OAuth2IdentityResolverServicepublic URI getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultTokenEndpointURI in interface OAuth2IdentityResolverServicepublic URI getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultIdentityResolverEndpointURI in interface OAuth2IdentityResolverServicepublic String getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultScope in interface OAuth2IdentityResolverServiceCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.