Class NimbusJwtDecoderJwkSupport

    • Constructor Summary

      Constructors 
      Constructor Description
      NimbusJwtDecoderJwkSupport​(java.lang.String jwkSetUrl)
      Deprecated.
      Constructs a NimbusJwtDecoderJwkSupport using the provided parameters.
      NimbusJwtDecoderJwkSupport​(java.lang.String jwkSetUrl, java.lang.String jwsAlgorithm)
      Deprecated.
      Constructs a NimbusJwtDecoderJwkSupport using the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Jwt decode​(java.lang.String token)
      Deprecated.
      Decodes the JWT from it's compact claims representation format and returns a Jwt.
      void setClaimSetConverter​(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,​java.lang.Object>,​java.util.Map<java.lang.String,​java.lang.Object>> claimSetConverter)
      Deprecated.
      Use the following Converter for manipulating the JWT's claim set
      void setJwtValidator​(OAuth2TokenValidator<Jwt> jwtValidator)
      Deprecated.
      Use this Jwt Validator
      void setRestOperations​(org.springframework.web.client.RestOperations restOperations)
      Deprecated.
      Sets the RestOperations used when requesting the JSON Web Key (JWK) Set.
      • Methods inherited from class java.lang.Object

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

      • NimbusJwtDecoderJwkSupport

        public NimbusJwtDecoderJwkSupport​(java.lang.String jwkSetUrl)
        Deprecated.
        Constructs a NimbusJwtDecoderJwkSupport using the provided parameters.
        Parameters:
        jwkSetUrl - the JSON Web Key (JWK) Set URL
      • NimbusJwtDecoderJwkSupport

        public NimbusJwtDecoderJwkSupport​(java.lang.String jwkSetUrl,
                                          java.lang.String jwsAlgorithm)
        Deprecated.
        Constructs a NimbusJwtDecoderJwkSupport using the provided parameters.
        Parameters:
        jwkSetUrl - the JSON Web Key (JWK) Set URL
        jwsAlgorithm - the JSON Web Algorithm (JWA) used for verifying the digital signatures
    • Method Detail

      • decode

        public Jwt decode​(java.lang.String token)
                   throws JwtException
        Deprecated.
        Description copied from interface: JwtDecoder
        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
      • setJwtValidator

        public void setJwtValidator​(OAuth2TokenValidator<Jwt> jwtValidator)
        Deprecated.
        Use this Jwt Validator
        Parameters:
        jwtValidator - - the Jwt Validator to use
      • setClaimSetConverter

        public void setClaimSetConverter​(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,​java.lang.Object>,​java.util.Map<java.lang.String,​java.lang.Object>> claimSetConverter)
        Deprecated.
        Use the following Converter for manipulating the JWT's claim set
        Parameters:
        claimSetConverter - the Converter to use
      • setRestOperations

        public void setRestOperations​(org.springframework.web.client.RestOperations restOperations)
        Deprecated.
        Sets the RestOperations used when requesting the JSON Web Key (JWK) Set.
        Parameters:
        restOperations - the RestOperations used when requesting the JSON Web Key (JWK) Set
        Since:
        5.1