Class SupplierJwtDecoder

java.lang.Object
org.springframework.security.oauth2.jwt.SupplierJwtDecoder
All Implemented Interfaces:
JwtDecoder

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

  • Method Details

    • decode

      public 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 JwtDecoder
      Parameters:
      token - the JWT value
      Returns:
      a Jwt
      Throws:
      JwtException - if an error occurs while attempting to decode the JWT