Class Authenticator
java.lang.Object
io.micronaut.security.authentication.Authenticator
An Authenticator operates on several 
AuthenticationProvider instances returning the first
 authenticated AuthenticationResponse.- Since:
 - 1.0
 - Author:
 - Sergio del Amo, Graeme Rocher
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionAuthenticator(Collection<AuthenticationProvider> authenticationProviders, SecurityConfiguration securityConfiguration)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<AuthenticationResponse>authenticate(io.micronaut.http.HttpRequest<?> request, AuthenticationRequest<?, ?> authenticationRequest) Authenticates the user with the provided credentials. 
- 
Field Details
- 
authenticationProviders
 
 - 
 - 
Constructor Details
- 
Authenticator
public Authenticator(Collection<AuthenticationProvider> authenticationProviders, SecurityConfiguration securityConfiguration) - Parameters:
 authenticationProviders- A list of available authentication providerssecurityConfiguration- The security configuration
 
 - 
 - 
Method Details
- 
authenticate
public org.reactivestreams.Publisher<AuthenticationResponse> authenticate(io.micronaut.http.HttpRequest<?> request, AuthenticationRequest<?, ?> authenticationRequest) Authenticates the user with the provided credentials.- Parameters:
 request- The HTTP requestauthenticationRequest- Represents a request to authenticate.- Returns:
 - A publisher that emits 
AuthenticationResponseobjects 
 
 -