Class AbstractOAuth2AuthorizationGrantRequest
- java.lang.Object
-
- org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
-
- Direct Known Subclasses:
OAuth2AuthorizationCodeGrantRequest
,OAuth2ClientCredentialsGrantRequest
,OAuth2PasswordGrantRequest
,OAuth2RefreshTokenGrantRequest
public abstract class AbstractOAuth2AuthorizationGrantRequest extends java.lang.Object
Base implementation of an OAuth 2.0 Authorization Grant request that holds an authorization grant credential and is used when initiating a request to the Authorization Server's Token Endpoint.- Since:
- 5.0
- See Also:
AuthorizationGrantType
, Section 1.3 Authorization Grant
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractOAuth2AuthorizationGrantRequest(AuthorizationGrantType authorizationGrantType)
Sub-class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationGrantType
getGrantType()
Returns the authorization grant type.
-
-
-
Constructor Detail
-
AbstractOAuth2AuthorizationGrantRequest
protected AbstractOAuth2AuthorizationGrantRequest(AuthorizationGrantType authorizationGrantType)
Sub-class constructor.- Parameters:
authorizationGrantType
- the authorization grant type
-
-
Method Detail
-
getGrantType
public AuthorizationGrantType getGrantType()
Returns the authorization grant type.- Returns:
- the authorization grant type
-
-