@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.
Constructor and Description |
---|
NimbusAuthorizationCodeTokenResponseClient()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 OAuth2AccessTokenResponse getTokenResponse(OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
OAuth2AccessTokenResponseClient
getTokenResponse
in interface OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest>
authorizationGrantRequest
- the authorization grant request that contains the
authorization grant credentialOAuth2AccessTokenResponse
that contains the
access token
credential