- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ReactiveOAuth2AuthorizedClientManagerImplementations of this interface are responsible for the overall management of
The primary responsibilities include:
reactor.core.publisher.Mono<OAuth2AuthorizedClient> authorize(OAuth2AuthorizeRequest authorizeRequest)Attempt to authorize or re-authorize (if required) the
clientidentified by the provided
clientRegistrationId. Implementations must return an empty
Monoif authorization is not supported for the specified client, e.g. the associated
ReactiveOAuth2AuthorizedClientProvider(s) does not support the
authorization 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. a
refresh tokenis not available OR the
access tokenis not expired.
authorizeRequest- the authorize request
OAuth2AuthorizedClientor an empty
Monoif authorization is not supported for the specified client