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 OAuth2IdentityResolverService
IllegalConfigurationException
public Principal getUserPrincipal(OAuth2AuthenticationProvider<?> authenticationProvider, String accessToken) throws IOException, IdentityResolverException
getUserPrincipal
in interface OAuth2IdentityResolverService
IOException
IdentityResolverException
public URI getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultAuthorizationEndpointURI
in interface OAuth2IdentityResolverService
public URI getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultTokenEndpointURI
in interface OAuth2IdentityResolverService
public URI getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultIdentityResolverEndpointURI
in interface OAuth2IdentityResolverService
public String getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
getDefaultScope
in interface OAuth2IdentityResolverService
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.