Class WebClientReactiveRefreshTokenTokenResponseClient
java.lang.Object
org.springframework.security.oauth2.client.endpoint.AbstractWebClientReactiveOAuth2AccessTokenResponseClient<OAuth2RefreshTokenGrantRequest>
org.springframework.security.oauth2.client.endpoint.WebClientReactiveRefreshTokenTokenResponseClient
- All Implemented Interfaces:
 ReactiveOAuth2AccessTokenResponseClient<OAuth2RefreshTokenGrantRequest>
public final class WebClientReactiveRefreshTokenTokenResponseClient
extends AbstractWebClientReactiveOAuth2AccessTokenResponseClient<OAuth2RefreshTokenGrantRequest>
An implementation of a 
ReactiveOAuth2AccessTokenResponseClient for the
 refresh_token grant. This implementation
 uses WebClient when requesting an access token credential at the Authorization
 Server's Token Endpoint.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<OAuth2AccessTokenResponse>getTokenResponse(OAuth2RefreshTokenGrantRequest grantRequest) Exchanges the authorization grant credential, provided in the authorization grant request, for an access token credential at the Authorization Server's Token Endpoint.Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractWebClientReactiveOAuth2AccessTokenResponseClient
addHeadersConverter, addParametersConverter, setBodyExtractor, setHeadersConverter, setParametersConverter, setParametersCustomizer, setWebClient 
- 
Constructor Details
- 
WebClientReactiveRefreshTokenTokenResponseClient
public WebClientReactiveRefreshTokenTokenResponseClient() 
 - 
 - 
Method Details
- 
getTokenResponse
public reactor.core.publisher.Mono<OAuth2AccessTokenResponse> getTokenResponse(OAuth2RefreshTokenGrantRequest grantRequest) Description copied from interface:ReactiveOAuth2AccessTokenResponseClientExchanges 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 interfaceReactiveOAuth2AccessTokenResponseClient<OAuth2RefreshTokenGrantRequest>- Overrides:
 getTokenResponsein classAbstractWebClientReactiveOAuth2AccessTokenResponseClient<OAuth2RefreshTokenGrantRequest>- Parameters:
 grantRequest- the authorization grant request that contains the authorization grant credential- Returns:
 - an 
OAuth2AccessTokenResponsethat contains theaccess tokencredential 
 
 -