@guarani/jose
Version:
Implementation of the RFCs of the JOSE Working Group.
17 lines (16 loc) • 558 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenNotValidYetException = void 0;
const jose_exception_1 = require("./jose.exception");
/**
* Raised when the provided JSON Web Token is not valid yet.
*/
class TokenNotValidYetException extends jose_exception_1.JoseException {
/**
* Returns the default Error Message of the JOSE Exception.
*/
getDefaultMessage() {
return 'The provided JSON Web Token is not valid yet.';
}
}
exports.TokenNotValidYetException = TokenNotValidYetException;