Interface ReactiveAuthenticationManager
- All Known Implementing Classes:
AbstractUserDetailsReactiveAuthenticationManager
,DelegatingReactiveAuthenticationManager
,JwtReactiveAuthenticationManager
,OAuth2AuthorizationCodeReactiveAuthenticationManager
,OAuth2LoginReactiveAuthenticationManager
,ObservationReactiveAuthenticationManager
,OidcAuthorizationCodeReactiveAuthenticationManager
,OneTimeTokenReactiveAuthenticationManager
,OpaqueTokenReactiveAuthenticationManager
,ReactiveAuthenticationManagerAdapter
,ReactivePreAuthenticatedAuthenticationManager
,UserDetailsRepositoryReactiveAuthenticationManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Determines if the provided
Authentication
can be authenticated.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>
authenticate
(Authentication authentication) Attempts to authenticate the providedAuthentication
-
Method Details
-
authenticate
Attempts to authenticate the providedAuthentication
- Parameters:
authentication
- theAuthentication
to test- Returns:
- if authentication is successful an
Authentication
is returned. If authentication cannot be determined, an empty Mono is returned. If authentication fails, a Mono error is returned.
-