@mvx/identity
Version:
identity is oidc for mvc, type-mvc is base on koa. Decorator, Ioc, AOP mvc framework on server.
30 lines (28 loc) • 992 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PassResult = void 0;
var tslib_1 = require("tslib");
var ValidationResult_1 = require("./ValidationResult");
/**
* Pass without making a success or fail decision.
*
* Under most circumstances, Strategies should not need to call this
* function. It exists primarily to allow previous authentication state
* to be restored, for example from an HTTP session.
*
*/
var PassResult = /** @class */ (function (_super) {
tslib_1.__extends(PassResult, _super);
function PassResult() {
return _super !== null && _super.apply(this, arguments) || this;
}
PassResult.prototype.action = function (ctx) {
return true;
};
PassResult.ρAnn = function () {
return { "name": "PassResult" };
};
return PassResult;
}(ValidationResult_1.ValidationResult));
exports.PassResult = PassResult;
//# sourceMappingURL=../../sourcemaps/passports/results/PassResult.js.map