Class SupplierReactiveJwtDecoder

java.lang.Object
org.springframework.security.oauth2.jwt.SupplierReactiveJwtDecoder
All Implemented Interfaces:
ReactiveJwtDecoder

public final class SupplierReactiveJwtDecoder extends Object implements ReactiveJwtDecoder
A ReactiveJwtDecoder that lazily initializes another ReactiveJwtDecoder
Since:
5.6
  • Constructor Details

  • Method Details

    • decode

      public reactor.core.publisher.Mono<Jwt> decode(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