Class AuthorizationGrantType
java.lang.Object
org.springframework.security.oauth2.core.AuthorizationGrantType
- All Implemented Interfaces:
Serializable
An authorization grant is a credential representing the resource owner's authorization
(to access its protected resources) to the client and used by the client to obtain an
access token.
The OAuth 2.0 Authorization Framework defines the standard grant types: authorization code, refresh token and client credentials. It also provides an extensibility mechanism for defining additional grant types.
- Since:
- 5.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthorizationGrantTypestatic final AuthorizationGrantTypestatic final AuthorizationGrantTypestatic final AuthorizationGrantTypestatic final AuthorizationGrantTypestatic final AuthorizationGrantType -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationGrantType(String value) Constructs anAuthorizationGrantTypeusing the provided value. -
Method Summary
-
Field Details
-
AUTHORIZATION_CODE
-
REFRESH_TOKEN
-
CLIENT_CREDENTIALS
-
JWT_BEARER
- Since:
- 5.5
-
DEVICE_CODE
- Since:
- 6.1
-
TOKEN_EXCHANGE
- Since:
- 6.3
-
-
Constructor Details
-
AuthorizationGrantType
Constructs anAuthorizationGrantTypeusing the provided value.- Parameters:
value- the value of the authorization grant type
-
-
Method Details