public class WebClientReactiveClientCredentialsTokenResponseClient extends java.lang.Object implements ReactiveOAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest>
ReactiveOAuth2AccessTokenResponseClient
that "exchanges"
an authorization code credential for an access token credential
at the Authorization Server's Token Endpoint.Constructor and Description |
---|
WebClientReactiveClientCredentialsTokenResponseClient() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<OAuth2AccessTokenResponse> |
getTokenResponse(OAuth2ClientCredentialsGrantRequest authorizationGrantRequest)
Exchanges the authorization grant credential, provided in the authorization grant request,
for an access token credential at the Authorization Server's Token Endpoint.
|
public WebClientReactiveClientCredentialsTokenResponseClient()
public reactor.core.publisher.Mono<OAuth2AccessTokenResponse> getTokenResponse(OAuth2ClientCredentialsGrantRequest authorizationGrantRequest)
ReactiveOAuth2AccessTokenResponseClient
getTokenResponse
in interface ReactiveOAuth2AccessTokenResponseClient<OAuth2ClientCredentialsGrantRequest>
authorizationGrantRequest
- the authorization grant request that contains the authorization grant credentialOAuth2AccessTokenResponse
that contains the access token
credential