@DefaultImplementation(value=DefaultOpenIdAuthenticationMapper.class) @FunctionalInterface public interface OpenIdAuthenticationMapper
Authentication
representing the authenticated user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENID_TOKEN_KEY |
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
createAuthenticationResponse(java.lang.String providerName,
OpenIdTokenResponse tokenResponse,
OpenIdClaims openIdClaims,
State state) |
static final java.lang.String OPENID_TOKEN_KEY
@NonNull AuthenticationResponse createAuthenticationResponse(java.lang.String providerName, OpenIdTokenResponse tokenResponse, OpenIdClaims openIdClaims, @Nullable State state)
providerName
- The OpenID provider nametokenResponse
- The token responseopenIdClaims
- The OpenID claimsstate
- The state of the response