Package io.micronaut.security.filters
Interface AuthenticationFetcher<T>
- Type Parameters:
T
- request
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
BasicAuthAuthenticationFetcher
,SessionAuthenticationFetcher
,TokenAuthenticationFetcher
,X509AuthenticationFetcher
public interface AuthenticationFetcher<T>
extends io.micronaut.core.order.Ordered
Describes a bean which attempts to read an
Authentication
from an HTTP Request 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
(T request) Attempts to read anAuthentication
from an HTTP Request being executed.Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
fetchAuthentication
Attempts to read anAuthentication
from an HTTP Request being executed.- Parameters:
request
- an HTTP Request being executed.- Returns:
Authentication
if found
-