Class NimbusAuthorizationCodeTokenResponseClient
- java.lang.Object
-
- org.springframework.security.oauth2.client.endpoint.NimbusAuthorizationCodeTokenResponseClient
-
- All Implemented Interfaces:
OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>
@Deprecated public class NimbusAuthorizationCodeTokenResponseClient extends java.lang.Object implements OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>
Deprecated.An implementation of anOAuth2AccessTokenResponseClientthat "exchanges" an authorization code credential for an access token credential at the Authorization Server's Token Endpoint.NOTE: This implementation uses the Nimbus OAuth 2.0 SDK internally.
- Since:
- 5.0
- See Also:
OAuth2AccessTokenResponseClient,OAuth2AuthorizationCodeGrantRequest,OAuth2AccessTokenResponse, Nimbus OAuth 2.0 SDK, Section 4.1.3 Access Token Request (Authorization Code Grant), Section 4.1.4 Access Token Response (Authorization Code Grant)
-
-
Constructor Summary
Constructors Constructor Description NimbusAuthorizationCodeTokenResponseClient()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponsegetTokenResponse(OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)Deprecated.Exchanges the authorization grant credential, provided in the authorization grant request, for an access token credential at the Authorization Server's Token Endpoint.
-
-
-
Method Detail
-
getTokenResponse
public org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse getTokenResponse(OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
Deprecated.Description copied from interface:OAuth2AccessTokenResponseClientExchanges the authorization grant credential, provided in the authorization grant request, for an access token credential at the Authorization Server's Token Endpoint.- Specified by:
getTokenResponsein interfaceOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>- Parameters:
authorizationGrantRequest- the authorization grant request that contains the authorization grant credential- Returns:
- an
OAuth2AccessTokenResponsethat contains theaccess tokencredential
-
-