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 URI
getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
URI
getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
String
getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
URI
getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
Principal
getUserPrincipal(OAuth2AuthenticationProvider<?> authProvider, String accessToken, NamedAddressSpace addressSpace)
void
validate(OAuth2AuthenticationProvider<?> authProvider)
-
-
-
Method Detail
-
validate
void validate(OAuth2AuthenticationProvider<?> authProvider) throws IllegalConfigurationException
- Throws:
IllegalConfigurationException
-
getUserPrincipal
Principal getUserPrincipal(OAuth2AuthenticationProvider<?> authProvider, String accessToken, NamedAddressSpace addressSpace) throws IOException, IdentityResolverException
- Throws:
IOException
IdentityResolverException
-
getDefaultAuthorizationEndpointURI
URI getDefaultAuthorizationEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultTokenEndpointURI
URI getDefaultTokenEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultIdentityResolverEndpointURI
URI getDefaultIdentityResolverEndpointURI(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
getDefaultScope
String getDefaultScope(OAuth2AuthenticationProvider<?> oAuth2AuthenticationProvider)
-
-