Interface ReactiveOAuth2AuthorizedClientManager
- All Known Implementing Classes:
- AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager,- DefaultReactiveOAuth2AuthorizedClientManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementations of this interface are responsible for the overall management of
 
Authorized Client(s).
 The primary responsibilities include:
- Authorizing (or re-authorizing) an OAuth 2.0 Client by leveraging a
 ReactiveOAuth2AuthorizedClientProvider(s).
- Delegating the persistence of an OAuth2AuthorizedClient, typically using aReactiveOAuth2AuthorizedClientServiceORServerOAuth2AuthorizedClientRepository.
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<OAuth2AuthorizedClient>authorize(OAuth2AuthorizeRequest authorizeRequest) Attempt to authorize or re-authorize (if required) theclientidentified by the providedclientRegistrationId.
- 
Method Details- 
authorizereactor.core.publisher.Mono<OAuth2AuthorizedClient> authorize(OAuth2AuthorizeRequest authorizeRequest) Attempt to authorize or re-authorize (if required) theclientidentified by the providedclientRegistrationId. Implementations must return an emptyMonoif authorization is not supported for the specified client, e.g. the associatedReactiveOAuth2AuthorizedClientProvider(s) does not support theauthorization granttype configured for the client.In the case of re-authorization, implementations must return the provided authorized clientif re-authorization is not supported for the client OR is not required, e.g. arefresh tokenis not available OR theaccess tokenis not expired.- Parameters:
- authorizeRequest- the authorize request
- Returns:
- the OAuth2AuthorizedClientor an emptyMonoif authorization is not supported for the specified client
 
 
-