Package org.forgerock.oauth.clients.oidc
Enum JwtRequestParameterOption
- java.lang.Object
-
- java.lang.Enum<JwtRequestParameterOption>
-
- org.forgerock.oauth.clients.oidc.JwtRequestParameterOption
-
- All Implemented Interfaces:
Serializable
,Comparable<JwtRequestParameterOption>
public enum JwtRequestParameterOption extends Enum<JwtRequestParameterOption>
Enum denoting how the request parameter jwt would to be sent to the OIDC provider.- See Also:
- Request Parameters as JWT.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JwtRequestParameterOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static JwtRequestParameterOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final JwtRequestParameterOption VALUE
Specifies that the requests parameter jwt would be passed as value.
-
REFERENCE
public static final JwtRequestParameterOption REFERENCE
Specifies that the requests parameter jwt would be passed by reference.
-
NONE
public static final JwtRequestParameterOption NONE
Specifies that the request parameter jwt won't be sent.
-
-
Method Detail
-
values
public static JwtRequestParameterOption[] 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 (JwtRequestParameterOption c : JwtRequestParameterOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JwtRequestParameterOption 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
-
-