public interface TokenValidator
extends io.micronaut.core.order.Ordered
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Authentication> |
validateToken(java.lang.String token,
io.micronaut.http.HttpRequest<?> request)
Validates the provided token and returns the authentication state.
|
org.reactivestreams.Publisher<Authentication> validateToken(java.lang.String token, @Nullable io.micronaut.http.HttpRequest<?> request)
token
- The token stringrequest
- The current request (or null)