All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.auth0.jwt.exceptions.SignatureVerificationException Maven / Gradle / Ivy

package com.auth0.jwt.exceptions;

import com.auth0.jwt.algorithms.Algorithm;

/**
 * The exception that is thrown if the Signature verification fails.
 */
public class SignatureVerificationException extends JWTVerificationException {
    public SignatureVerificationException(Algorithm algorithm) {
        this(algorithm, null);
    }

    public SignatureVerificationException(Algorithm algorithm, Throwable cause) {
        super("The Token's Signature resulted invalid when verified using the Algorithm: " + algorithm, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy