Interface OAuth2IdentityResolverService
-
- All Superinterfaces:
Pluggable
- All Known Implementing Classes:
CloudFoundryOAuth2IdentityResolverService
,FacebookIdentityResolverService
,GitHubOAuth2IdentityResolverService
,GoogleOAuth2IdentityResolverService
,KeycloakOAuth2IdentityResolverService
,MicrosoftLiveOAuth2IdentityResolverService
public interface OAuth2IdentityResolverService extends Pluggable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URI
getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
java.net.URI
getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
java.lang.String
getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
java.net.URI
getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
java.security.Principal
getUserPrincipal(OAuth2AuthenticationProvider<?> authProvider, java.lang.String accessToken, NamedAddressSpace addressSpace)
void
validate(OAuth2AuthenticationProvider<?> authProvider)
-
-
-
Method Detail
-
validate
void validate(OAuth2AuthenticationProvider<?> authProvider) throws IllegalConfigurationException
- Throws:
IllegalConfigurationException
-
getUserPrincipal
java.security.Principal getUserPrincipal(OAuth2AuthenticationProvider<?> authProvider, java.lang.String accessToken, NamedAddressSpace addressSpace) throws java.io.IOException, IdentityResolverException
- Throws:
java.io.IOException
IdentityResolverException
-
getDefaultAuthorizationEndpointURI
java.net.URI getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultTokenEndpointURI
java.net.URI getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultIdentityResolverEndpointURI
java.net.URI getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultScope
java.lang.String getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
-