Package io.quarkus.oidc.common.runtime
Enum OidcCommonConfig.Credentials.Secret.Method
- java.lang.Object
-
- java.lang.Enum<OidcCommonConfig.Credentials.Secret.Method>
-
- io.quarkus.oidc.common.runtime.OidcCommonConfig.Credentials.Secret.Method
-
- All Implemented Interfaces:
Serializable,Comparable<OidcCommonConfig.Credentials.Secret.Method>
- Enclosing class:
- OidcCommonConfig.Credentials.Secret
public static enum OidcCommonConfig.Credentials.Secret.Method extends Enum<OidcCommonConfig.Credentials.Secret.Method>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASICclient_secret_basic (default): client id and secret are submitted with the HTTP Authorization Basic schemePOSTclient_secret_post: client id and secret are submitted as the `client_id` and `client_secret` form parameters.POST_JWTclient_secret_jwt: client id and generated JWT secret are submitted as the `client_id` and `client_secret` form parameters.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcCommonConfig.Credentials.Secret.MethodvalueOf(String name)Returns the enum constant of this type with the specified name.static OidcCommonConfig.Credentials.Secret.Method[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final OidcCommonConfig.Credentials.Secret.Method BASIC
client_secret_basic (default): client id and secret are submitted with the HTTP Authorization Basic scheme
-
POST
public static final OidcCommonConfig.Credentials.Secret.Method POST
client_secret_post: client id and secret are submitted as the `client_id` and `client_secret` form parameters.
-
POST_JWT
public static final OidcCommonConfig.Credentials.Secret.Method POST_JWT
client_secret_jwt: client id and generated JWT secret are submitted as the `client_id` and `client_secret` form parameters.
-
-
Method Detail
-
values
public static OidcCommonConfig.Credentials.Secret.Method[] 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 (OidcCommonConfig.Credentials.Secret.Method c : OidcCommonConfig.Credentials.Secret.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcCommonConfig.Credentials.Secret.Method 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
-
-