UNPKG

@mvx/identity

Version:

identity is oidc for mvc, type-mvc is base on koa. Decorator, Ioc, AOP mvc framework on server.

24 lines (22 loc) 643 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidToken = void 0; const AuthenticationError_1 = require("./AuthenticationError"); /** * invalid token. * * @export * @class InvalidToken * @extends {AuthenticationError} */ class InvalidToken extends AuthenticationError_1.AuthenticationError { constructor(detail) { super(401, 'invalid_token', 'invalid token provided'); this.error_detail = detail; } static ρAnn() { return { "name": "InvalidToken" }; } } exports.InvalidToken = InvalidToken; //# sourceMappingURL=../sourcemaps/errors/InvalidToken.js.map