Interface ClaimsValidator

    • Method Detail

      • validate

        void validate​(@Nonnull
                      com.nimbusds.jwt.JWTClaimsSet claims,
                      @Nonnull
                      ProfileRequestContext context)
               throws JWTValidationException
        Validate all, or part of, the given JWT claims set. Can take supporting information from the given context tree.

        Throws an exception if validation fails.

        Parameters:
        claims - the claims to validate.
        context - the profile request context.
        Throws:
        JWTValidationException - when validation is unsuccessful due to a failed attempt