Interface ReactiveJsonWebTokenValidator<T,R>

Type Parameters:
T - Token
R - Request
All Superinterfaces:
io.micronaut.core.order.Ordered, TokenValidator<R>

public interface ReactiveJsonWebTokenValidator<T,R> extends TokenValidator<R>
Reactive JSON Web Token (JWT) validator.
Author:
Sergio del Amo
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull org.reactivestreams.Publisher<T>
    validate(@NonNull String token, R request)
    Validates a Token.

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder

    Methods inherited from interface io.micronaut.security.token.validator.TokenValidator

    validateToken
  • Method Details

    • validate

      @NonNull @SingleResult @NonNull org.reactivestreams.Publisher<T> validate(@NonNull @NonNull String token, @Nullable R request)
      Validates a Token. It should perform the following steps. - Parses the Token (if encrypted it should decrypt it). - Validates the Signature - Validates the Claims
      Parameters:
      token - The JWT Token
      request - An Request
      Returns:
      Emits a single result with a JWT if the token is valid