Package io.micronaut.security.filters
Interface AuthenticationFetcher
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
BasicAuthAuthenticationFetcher,SessionAuthenticationFetcher,TokenAuthenticationFetcher,X509AuthenticationFetcher
public interface AuthenticationFetcher
extends io.micronaut.core.order.Ordered
Describes a bean which attempts to read an
Authentication from a HttpRequest being executed.- Since:
- 1.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<Authentication>fetchAuthentication(io.micronaut.http.HttpRequest<?> request) Attempts to read anAuthenticationfrom aHttpRequestbeing executed.Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
fetchAuthentication
org.reactivestreams.Publisher<Authentication> fetchAuthentication(io.micronaut.http.HttpRequest<?> request) Attempts to read anAuthenticationfrom aHttpRequestbeing executed.- Parameters:
request-HttpRequestbeing executed.- Returns:
Authenticationif found
-