Package com.authlete.common.types
Enum HokMethod
- java.lang.Object
-
- java.lang.Enum<HokMethod>
-
- com.authlete.common.types.HokMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<HokMethod>
public enum HokMethod extends Enum<HokMethod>
Values for Holder-of-Key method.- Since:
- 2.21
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MTLS
This represents Mutual-TLS Client Certificate-Bound Access Tokens.OAUTB
This represents OAuth 2.0 Token Binding
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HokMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static HokMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MTLS
public static final HokMethod MTLS
This represents Mutual-TLS Client Certificate-Bound Access Tokens.
-
OAUTB
public static final HokMethod OAUTB
This represents OAuth 2.0 Token Binding
-
-
Method Detail
-
values
public static HokMethod[] 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 (HokMethod c : HokMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HokMethod 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
-
-