Class OidcScopes
java.lang.Object
org.springframework.security.oauth2.core.oidc.OidcScopes
The scope values defined by the OpenID Connect Core 1.0 specification that can be used
to request
claims.
The scope(s) associated to an OAuth2AccessToken determine what claims
(resources) will be available when they are used to access OAuth 2.0 Protected
Endpoints, such as the UserInfo Endpoint.
- Since:
- 5.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTheaddressscope requests access to theaddressclaim.static final StringTheemailscope requests access to theemailandemail_verifiedclaims.static final StringTheopenidscope is required for OpenID Connect Authentication Requests.static final StringThephonescope requests access to thephone_numberandphone_number_verifiedclaims.static final StringTheprofilescope requests access to the default profile claims, which are:name, family_name, given_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at. -
Method Summary
-
Field Details
-
OPENID
Theopenidscope is required for OpenID Connect Authentication Requests.- See Also:
-
PROFILE
Theprofilescope requests access to the default profile claims, which are:name, family_name, given_name, middle_name, nickname, preferred_username, profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at.- See Also:
-
EMAIL
Theemailscope requests access to theemailandemail_verifiedclaims.- See Also:
-
ADDRESS
Theaddressscope requests access to theaddressclaim.- See Also:
-
PHONE
Thephonescope requests access to thephone_numberandphone_number_verifiedclaims.- See Also:
-