Enum Class IDTokenClaims
- All Implemented Interfaces:
Serializable,Comparable<IDTokenClaims>,Constable
Enum of those OIDC ID token claims that are not part of the standard
JWT claims set.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthentication Context Class Reference.Authentication Methods References.Time when the End-User authentication occurred.Authorized party - the party to which the ID Token was issued.String value used to associate a Client session with an ID Token, and to mitigate replay attacks. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the registered claim name.static IDTokenClaimsReturns the enum constant of this class with the specified name.static IDTokenClaims[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTHENTICATION_TIME
Time when the End-User authentication occurred. -
NONCE
String value used to associate a Client session with an ID Token, and to mitigate replay attacks. -
AUTHENTICATION_CONTEXT_CLASS_REFERENCE
Authentication Context Class Reference. -
AUTHENTICATION_METHODS_REFERENCES
Authentication Methods References. -
AUTHORIZED_PARTY
Authorized party - the party to which the ID Token was issued.
-
-
Field Details
-
claimName
The registered claim name.
-
-
Constructor Details
-
IDTokenClaims
Constructor.- Parameters:
name- the registered claim name.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getClaimName
Get the registered claim name.- Returns:
- the registered claim name.
-