public interface TokenValidator
extends io.micronaut.core.order.Ordered
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<Authentication> |
validateToken(java.lang.String token)
Validates the provided token and returns the authentication state.
|
org.reactivestreams.Publisher<Authentication> validateToken(java.lang.String token)
token - The token stringOptional.empty() if the validation fails