Class OAuth2AuthorizationCodeGrantRequest
- java.lang.Object
-
- org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
-
- org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
-
public class OAuth2AuthorizationCodeGrantRequest extends AbstractOAuth2AuthorizationGrantRequest
An OAuth 2.0 Authorization Code Grant request that holds an Authorization Code credential, which was granted by the Resource Owner to theClient.- Since:
- 5.0
- See Also:
AbstractOAuth2AuthorizationGrantRequest,ClientRegistration,OAuth2AuthorizationExchange, Section 1.3.1 Authorization Code Grant
-
-
Constructor Summary
Constructors Constructor Description OAuth2AuthorizationCodeGrantRequest(ClientRegistration clientRegistration, org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange authorizationExchange)Constructs anOAuth2AuthorizationCodeGrantRequestusing the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchangegetAuthorizationExchange()Returns theauthorization exchange.-
Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
getClientRegistration, getGrantType
-
-
-
-
Constructor Detail
-
OAuth2AuthorizationCodeGrantRequest
public OAuth2AuthorizationCodeGrantRequest(ClientRegistration clientRegistration, org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationExchange authorizationExchange)
Constructs anOAuth2AuthorizationCodeGrantRequestusing the provided parameters.- Parameters:
clientRegistration- the client registrationauthorizationExchange- the authorization exchange
-
-