Package org.keycloak.representations
Enum ClaimsRepresentation.ClaimContext
- java.lang.Object
-
- java.lang.Enum<ClaimsRepresentation.ClaimContext>
-
- org.keycloak.representations.ClaimsRepresentation.ClaimContext
-
- All Implemented Interfaces:
Serializable
,Comparable<ClaimsRepresentation.ClaimContext>
- Enclosing class:
- ClaimsRepresentation
public static enum ClaimsRepresentation.ClaimContext extends Enum<ClaimsRepresentation.ClaimContext>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClaimsRepresentation.ClaimContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClaimsRepresentation.ClaimContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID_TOKEN
public static final ClaimsRepresentation.ClaimContext ID_TOKEN
-
USERINFO
public static final ClaimsRepresentation.ClaimContext USERINFO
-
-
Method Detail
-
values
public static ClaimsRepresentation.ClaimContext[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClaimsRepresentation.ClaimContext c : ClaimsRepresentation.ClaimContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClaimsRepresentation.ClaimContext valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-