@Deprecated public class NimbusAuthorizationCodeTokenResponseClient extends java.lang.Object implements OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>
OAuth2AccessTokenResponseClient that "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.
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 and Description |
|---|
NimbusAuthorizationCodeTokenResponseClient()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse |
getTokenResponse(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.
|
public NimbusAuthorizationCodeTokenResponseClient()
public org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse getTokenResponse(OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
OAuth2AccessTokenResponseClientgetTokenResponse in interface OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>authorizationGrantRequest - the authorization grant request that contains the authorization grant credentialOAuth2AccessTokenResponse that contains the access token credential