Enum Class OidcClaimsSource
- All Implemented Interfaces:
Serializable,Comparable<OidcClaimsSource>,Constable
Source for OIDC CP claims.
- Since:
- 1.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse claims from ID token.Use claims from userinfo endpoint.Use claims from userinfo endpoint, accepting signed JWT token responses only. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanstatic OidcClaimsSourceReturns the enum constant of this class with the specified name.static OidcClaimsSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID_TOKEN
Use claims from ID token.
Allows override of claims and subject of other sources by default. -
USERINFO
Use claims from userinfo endpoint.
Allows override of claims other than subject of other sources by default. -
USERINFO_JWT
Use claims from userinfo endpoint, accepting signed JWT token responses only.
Allows override of claims and subject of other sources by default.- Since:
- 1.13.0
-
-
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
-
isClaimsFromUserinfo
public boolean isClaimsFromUserinfo() -
isAllowClaimsOverride
public boolean isAllowClaimsOverride() -
isAllowSubjectOverride
public boolean isAllowSubjectOverride()
-