Package io.micronaut.security.filters
Interface AuthenticationFetcher
-
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
SessionAuthenticationFetcher
,TokenAuthenticationFetcher
public interface AuthenticationFetcher extends io.micronaut.core.order.Ordered
Describes a bean which attempts to read anAuthentication
from aHttpRequest
being executed.- Since:
- 1.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<Authentication>
fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
Attempts to read anAuthentication
from aHttpRequest
being executed.
-
-
-
Method Detail
-
fetchAuthentication
org.reactivestreams.Publisher<Authentication> fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
Attempts to read anAuthentication
from aHttpRequest
being executed.- Parameters:
request
-HttpRequest
being executed.- Returns:
Authentication
if found
-
-