Class TokenValidator.AtHashValidator

  • All Implemented Interfaces:
    org.jose4j.jwt.consumer.ErrorCodeValidator
    Enclosing class:
    TokenValidator

    private static class TokenValidator.AtHashValidator
    extends Object
    implements org.jose4j.jwt.consumer.ErrorCodeValidator
    • Field Detail

      • accessTokenString

        private final String accessTokenString
      • jwsAlgorithm

        private final String jwsAlgorithm
    • Constructor Detail

      • AtHashValidator

        public AtHashValidator​(String accessTokenString,
                               String jwsAlgorithm)
    • Method Detail

      • validate

        public org.jose4j.jwt.consumer.ErrorCodeValidator.Error validate​(org.jose4j.jwt.consumer.JwtContext jwtContext)
                                                                  throws org.jose4j.jwt.MalformedClaimException
        Specified by:
        validate in interface org.jose4j.jwt.consumer.ErrorCodeValidator
        Throws:
        org.jose4j.jwt.MalformedClaimException