@Singleton public class SessionAuthenticationFetcher extends java.lang.Object implements AuthenticationFetcher
Authentication
from Session
.Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
ORDER
The order of the fetcher.
|
Constructor and Description |
---|
SessionAuthenticationFetcher() |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Authentication> |
fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
Attempts to read an
Authentication from a HttpRequest being executed. |
int |
getOrder() |
public org.reactivestreams.Publisher<Authentication> fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
AuthenticationFetcher
Authentication
from a HttpRequest
being executed.fetchAuthentication
in interface AuthenticationFetcher
request
- HttpRequest
being executed.Authentication
if foundpublic int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered