Interface ReactiveAuthenticationManager
-
- All Known Implementing Classes:
AbstractUserDetailsReactiveAuthenticationManager
,DelegatingReactiveAuthenticationManager
,JwtReactiveAuthenticationManager
,OAuth2AuthorizationCodeReactiveAuthenticationManager
,OAuth2LoginReactiveAuthenticationManager
,OidcAuthorizationCodeReactiveAuthenticationManager
,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.
@FunctionalInterface public interface ReactiveAuthenticationManager
Determines if the providedAuthentication
can be authenticated.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>
authenticate(Authentication authentication)
Attempts to authenticate the providedAuthentication
-
-
-
Method Detail
-
authenticate
reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication)
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.
-
-