Class ClientAuthenticationMethod
- java.lang.Object
-
- org.springframework.security.oauth2.core.ClientAuthenticationMethod
-
- All Implemented Interfaces:
java.io.Serializable
public final class ClientAuthenticationMethod extends java.lang.Object implements java.io.SerializableThe authentication method used when authenticating the client with the authorization server.- Since:
- 5.0
- See Also:
- Section 2.3 Client Authentication, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ClientAuthenticationMethodBASICDeprecated.static ClientAuthenticationMethodCLIENT_SECRET_BASICstatic ClientAuthenticationMethodCLIENT_SECRET_JWTstatic ClientAuthenticationMethodCLIENT_SECRET_POSTstatic ClientAuthenticationMethodNONEstatic ClientAuthenticationMethodPOSTDeprecated.static ClientAuthenticationMethodPRIVATE_KEY_JWT
-
Constructor Summary
Constructors Constructor Description ClientAuthenticationMethod(java.lang.String value)Constructs aClientAuthenticationMethodusing the provided value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetValue()Returns the value of the client authentication method.inthashCode()
-
-
-
Field Detail
-
BASIC
@Deprecated public static final ClientAuthenticationMethod BASIC
Deprecated.
-
CLIENT_SECRET_BASIC
public static final ClientAuthenticationMethod CLIENT_SECRET_BASIC
- Since:
- 5.5
-
POST
@Deprecated public static final ClientAuthenticationMethod POST
Deprecated.
-
CLIENT_SECRET_POST
public static final ClientAuthenticationMethod CLIENT_SECRET_POST
- Since:
- 5.5
-
CLIENT_SECRET_JWT
public static final ClientAuthenticationMethod CLIENT_SECRET_JWT
- Since:
- 5.5
-
PRIVATE_KEY_JWT
public static final ClientAuthenticationMethod PRIVATE_KEY_JWT
- Since:
- 5.5
-
NONE
public static final ClientAuthenticationMethod NONE
- Since:
- 5.2
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of the client authentication method.- Returns:
- the value of the client authentication method
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-