@mvx/identity
Version:
identity is oidc for mvc, type-mvc is base on koa. Decorator, Ioc, AOP mvc framework on server.
28 lines (26 loc) • 909 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InternalOAuthError = void 0;
var tslib_1 = require("tslib");
var AuthenticationError_1 = require("./AuthenticationError");
/**
* internal oauth error.
*
* @export
* @class InternalOAuthError
* @extends {AuthenticationError}
*/
var InternalOAuthError = /** @class */ (function (_super) {
tslib_1.__extends(InternalOAuthError, _super);
function InternalOAuthError(message, oauthError) {
var _this = _super.call(this, 400, message) || this;
_this.oauthError = oauthError;
return _this;
}
InternalOAuthError.ρAnn = function () {
return { "name": "InternalOAuthError" };
};
return InternalOAuthError;
}(AuthenticationError_1.AuthenticationError));
exports.InternalOAuthError = InternalOAuthError;
//# sourceMappingURL=../sourcemaps/errors/InternalOAuthError.js.map