Interface OpenIdClaims
- All Superinterfaces:
Claims
- All Known Implementing Classes:
JWTOpenIdClaims
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final Stringstatic final Stringstatic final Stringstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_BIRTHDATEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_EMAILinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_EMAIL_VERIFIEDinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_FAMILY_NAMEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_GENDERinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_GIVEN_NAMEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_LOCALEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_MIDDLE_NAMEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_NAMEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_NICKNAMEinstead.static final Stringstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PHONE_NUMBERinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PHONE_NUMBER_VERIFIEDinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PICTUREinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PREFERRED_USERNAMEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PROFILEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_UPDATED_ATinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_WEBSITEinstead.static final StringDeprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_ZONEINFOinstead.Fields inherited from interface Claims
ALL_CLAIMS, AUDIENCE, EXPIRATION_TIME, ISSUED_AT, ISSUER, KEY_ID, NOT_BEFORE, SUBJECT, TOKEN_ID -
Method Summary
Modifier and TypeMethodDescription@Nullable Addressaddress.@Nullable String@Nullable Integer@Nullable String@Nullable String@Nullable StringgetEmail()@NonNull Date@Nullable Stringfamily_name.@Nullable String@Nullable Stringgiven_name.@NonNull Date@NonNull String@Nullable String@Nullable Stringmiddle_name.@Nullable StringgetName()name.@Nullable Stringnickname.@Nullable StringgetNonce()@Nullable String@Nullable String@Nullable Stringpreferred_username.@Nullable String@NonNull Stringsub.@Nullable Integer@Nullable String@Nullable Stringzoneinfo.@Nullable Boolean@Nullable Boolean
-
Field Details
-
CLAIMS_NAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_NAMEinstead.- See Also:
-
CLAIMS_GIVEN_NAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_GIVEN_NAMEinstead.- See Also:
-
CLAIMS_FAMILY_NAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_FAMILY_NAMEinstead.- See Also:
-
CLAIMS_MIDDLE_NAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_MIDDLE_NAMEinstead.- See Also:
-
CLAIMS_NICKNAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_NICKNAMEinstead.- See Also:
-
CLAIMS_PREFERRED_USERNAME
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PREFERRED_USERNAMEinstead.- See Also:
-
CLAIMS_PROFILE
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PROFILEinstead.- See Also:
-
CLAIMS_PICTURE
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PICTUREinstead.- See Also:
-
CLAIMS_WEBSITE
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_WEBSITEinstead.- See Also:
-
CLAIMS_EMAIL
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_EMAILinstead.- See Also:
-
CLAIMS_EMAIL_VERIFIED
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_EMAIL_VERIFIEDinstead.- See Also:
-
CLAIMS_GENDER
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_GENDERinstead.- See Also:
-
CLAIMS_BIRTHDATE
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_BIRTHDATEinstead.- See Also:
-
CLAIMS_ZONEINFO
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_ZONEINFOinstead.- See Also:
-
CLAIMS_LOCALE
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_LOCALEinstead.- See Also:
-
CLAIMS_PHONE_NUMBER
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PHONE_NUMBERinstead.- See Also:
-
CLAIMS_PHONE_NUMBER_VERIFIED
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_PHONE_NUMBER_VERIFIEDinstead.- See Also:
-
CLAIMS_ADDRESS
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_ADDRESSinstead.- See Also:
-
CLAIMS_UPDATED_AT
Deprecated, for removal: This API element is subject to removal in a future version.UseProfileClaims.CLAIM_UPDATED_ATinstead.- See Also:
-
CLAIMS_AUTH_TIME
- See Also:
-
CLAIMS_NONCE
- See Also:
-
CLAIMS_ACR
- See Also:
-
CLAIMS_AMR
- See Also:
-
CLAIMS_AZP
- See Also:
-
-
Method Details
-
getAuthorizedParty
@Nullable String getAuthorizedParty()- Returns:
- The party to which the ID Token was issued.
-
getAuthenticationMethodReferences
-
getAuthenticationContextClassReference
@Nullable String getAuthenticationContextClassReference()- Returns:
- Authentication Context Class Reference.
-
getIssuer
@NonNull String getIssuer()- Returns:
- Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client,
-
getAudience
-
getExpirationTime
@NonNull Date getExpirationTime()- Returns:
- Expiration time on or after which the ID Token MUST NOT be accepted for processing.
-
getIssuedAt
@NonNull Date getIssuedAt()- Returns:
- Time at which the JWT was issued.
-
getSubject
-
getAuthenticationTime
@Nullable Integer getAuthenticationTime()- Returns:
- Time when the End-User authentication occurred.
-
getNonce
@Nullable String getNonce()- Returns:
- String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
-
getName
@Nullable String getName()name.- Returns:
- End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
-
getGivenName
@Nullable String getGivenName()given_name.- Returns:
- Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.
-
getFamilyName
@Nullable String getFamilyName()family_name.- Returns:
- Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.
-
getMiddleName
@Nullable String getMiddleName()middle_name.- Returns:
- Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used.
-
getNickname
@Nullable String getNickname()nickname.- Returns:
- Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.
-
getPreferredUsername
@Nullable String getPreferredUsername()preferred_username.- Returns:
- Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.
-
getProfile
@Nullable String getProfile()- Returns:
- URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.
-
getPicture
@Nullable String getPicture()- Returns:
- URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User.
-
getWebsite
@Nullable String getWebsite()- Returns:
- URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.
-
getEmail
@Nullable String getEmail()- Returns:
- End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.
-
isEmailVerified
@Nullable Boolean isEmailVerified()- Returns:
- True if the End-User's e-mail address has been verified; otherwise false.
-
getGender
@Nullable String getGender()- Returns:
- End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.
-
getBirthday
@Nullable String getBirthday()- Returns:
- End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format.
-
getZoneinfo
@Nullable String getZoneinfo()zoneinfo.- Returns:
- String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.
-
getLocale
@Nullable String getLocale()- Returns:
- End-User's locale, represented as a BCP47 [RFC5646] language tag.
-
getPhoneNumber
@Nullable String getPhoneNumber()- Returns:
- End-User's preferred telephone number
-
isPhoneNumberVerified
@Nullable Boolean isPhoneNumberVerified()- Returns:
- True if the End-User's phone number has been verified; otherwise false.
-
getAdress
-
getUpdatedAt
@Nullable Integer getUpdatedAt()- Returns:
- Time the End-User's information was last updated.
-
getClaims
-
ProfileClaims.CLAIM_ADDRESSinstead.