Package org.apereo.cas.support.oauth
Enum Class OAuth20ClientAuthenticationMethods
java.lang.Object
java.lang.Enum<OAuth20ClientAuthenticationMethods>
org.apereo.cas.support.oauth.OAuth20ClientAuthenticationMethods
- All Implemented Interfaces:
Serializable,Comparable<OAuth20ClientAuthenticationMethods>,Constable
The OAuth client authentication methods.
- Since:
- 7.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthentication method for basic authn.Authentication method using HMAC and JWT.Authentication method for form-post authn.Authentication method using private key JWT.Authentication method using mTLS. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Parse oauth20 client authentication methods.Returns the enum constant of this class with the specified name.static OAuth20ClientAuthenticationMethods[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CLIENT_SECRET_BASIC
Authentication method for basic authn. -
CLIENT_SECRET_POST
Authentication method for form-post authn. -
CLIENT_SECRET_JWT
Authentication method using HMAC and JWT. -
PRIVATE_KEY_JWT
Authentication method using private key JWT. -
TLS_CLIENT_AUTH
Authentication method using mTLS.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
parse
Parse oauth20 client authentication methods.- Parameters:
type- the type- Returns:
- the oauth20 client authentication methods
-
getType
-