Enum OidcConfig.RequestType
- java.lang.Object
-
- java.lang.Enum<OidcConfig.RequestType>
-
- io.helidon.security.providers.oidc.common.OidcConfig.RequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<OidcConfig.RequestType>
- Enclosing class:
- OidcConfig
public static enum OidcConfig.RequestType extends Enum<OidcConfig.RequestType>
Types of requests to identity provider.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODE_TO_TOKEN
Request to exchange code for a token issued against the token endpoint.INTROSPECT_JWT
Request to validate a JWT against an introspection endpoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcConfig.RequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OidcConfig.RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE_TO_TOKEN
public static final OidcConfig.RequestType CODE_TO_TOKEN
Request to exchange code for a token issued against the token endpoint.
-
INTROSPECT_JWT
public static final OidcConfig.RequestType INTROSPECT_JWT
Request to validate a JWT against an introspection endpoint.
-
-
Method Detail
-
values
public static OidcConfig.RequestType[] 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 (OidcConfig.RequestType c : OidcConfig.RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcConfig.RequestType 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
-
-