Interface OidcUser
- All Superinterfaces:
OAuth2User
- All Known Implementing Classes:
DefaultOidcUser
A user an OpenID Connect provider vouched for with an ID token.
-
Method Summary
Modifier and TypeMethodDescriptionThe claims of the ID token, with what the provider's user info added.getEmail()Theemailclaim, or null.The verified ID token.Thesubclaim: who the user is at the provider, for good.booleanWhether the provider says it has verifiedgetEmail().Methods inherited from interface OAuth2User
getAttributes, getAuthorities, getName
-
Method Details
-
getIdToken
Jwt getIdToken()The verified ID token. -
getClaims
-
getSubject
String getSubject()Thesubclaim: who the user is at the provider, for good. -
getEmail
String getEmail()Theemailclaim, or null. -
isEmailVerified
boolean isEmailVerified()Whether the provider says it has verifiedgetEmail(). False when it does not say.
-