@DefaultImplementation(value=DefaultOpenIdUserDetailsMapper.class) public interface OpenIdUserDetailsMapper
UserDetails
representing the authenticated user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENID_TOKEN_KEY |
Modifier and Type | Method and Description |
---|---|
UserDetails |
createUserDetails(java.lang.String providerName,
OpenIdTokenResponse tokenResponse,
OpenIdClaims openIdClaims) |
static final java.lang.String OPENID_TOKEN_KEY
@Nonnull UserDetails createUserDetails(java.lang.String providerName, OpenIdTokenResponse tokenResponse, OpenIdClaims openIdClaims)
providerName
- The OpenID provider nametokenResponse
- The token responseopenIdClaims
- The OpenID claims