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) 710 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PassResult = void 0; const 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. * */ class PassResult extends ValidationResult_1.ValidationResult { action(ctx) { return true; } static ρAnn() { return { "name": "PassResult" }; } } exports.PassResult = PassResult; //# sourceMappingURL=../../sourcemaps/passports/results/PassResult.js.map