Class SupplierReactiveJwtDecoder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<Jwt> decode​(java.lang.String token)
      Decodes the JWT from it's compact claims representation format and returns a Jwt.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SupplierReactiveJwtDecoder

        public SupplierReactiveJwtDecoder​(java.util.function.Supplier<ReactiveJwtDecoder> supplier)
    • Method Detail

      • decode

        public reactor.core.publisher.Mono<Jwt> decode​(java.lang.String token)
                                                throws JwtException
        Decodes the JWT from it's compact claims representation format and returns a Jwt.
        Specified by:
        decode in interface ReactiveJwtDecoder
        Parameters:
        token - the JWT value
        Returns:
        a Jwt
        Throws:
        JwtException - if an error occurs while attempting to decode the JWT