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.Serializable
The 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 ClientAuthenticationMethod
BASIC
static ClientAuthenticationMethod
NONE
static ClientAuthenticationMethod
POST
-
Constructor Summary
Constructors Constructor Description ClientAuthenticationMethod(java.lang.String value)
Constructs aClientAuthenticationMethod
using the provided value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getValue()
Returns the value of the client authentication method.int
hashCode()
-
-
-
Field Detail
-
BASIC
public static final ClientAuthenticationMethod BASIC
-
POST
public static final ClientAuthenticationMethod POST
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-