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
Deprecated.static ClientAuthenticationMethod
CLIENT_SECRET_BASIC
static ClientAuthenticationMethod
CLIENT_SECRET_JWT
static ClientAuthenticationMethod
CLIENT_SECRET_POST
static ClientAuthenticationMethod
NONE
static ClientAuthenticationMethod
POST
Deprecated.static ClientAuthenticationMethod
PRIVATE_KEY_JWT
-
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
@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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-