public interface TokenValidator extends Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier and Type | Method and Description |
---|---|
Publisher<Authentication> |
validateToken(String token)
Validates the provided token and returns the authentication state.
|
Publisher<Authentication> validateToken(String token)
token
- The token stringOptional.empty()
if the validation fails