public interface ReactiveOAuth2AccessTokenResponseClient<T extends AbstractOAuth2AuthorizationGrantRequest>
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<OAuth2AccessTokenResponse> |
getTokenResponse(T authorizationGrantRequest)
Exchanges the authorization grant credential, provided in the authorization grant request,
for an access token credential at the Authorization Server's Token Endpoint.
|
reactor.core.publisher.Mono<OAuth2AccessTokenResponse> getTokenResponse(T authorizationGrantRequest)
authorizationGrantRequest - the authorization grant request that contains the authorization grant credentialOAuth2AccessTokenResponse that contains the access token credentialOAuth2AuthorizationException - if an error occurs while attempting to exchange for the access token credential