Class SupplierJwtDecoder

    • Constructor Summary

      Constructors 
      Constructor Description
      SupplierJwtDecoder​(java.util.function.Supplier<JwtDecoder> jwtDecoderSupplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • SupplierJwtDecoder

        public SupplierJwtDecoder​(java.util.function.Supplier<JwtDecoder> jwtDecoderSupplier)
    • Method Detail

      • decode

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