UNPKG

moleculer-iam

Version:

Centralized IAM module for moleculer. Including a certified OIDC provider and an Identity provider for user profile, credentials, and custom claims management. Custom claims could be defined/updated by declarative schema which contains claims validation a

19 lines 685 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildFindEmailRoutes = void 0; function buildFindEmailRoutes(builder, opts) { builder.app.router // initial render page .get("/find_email", async (ctx) => { return ctx.op.render("find_email"); }) // finished .get("/find_email/end", async (ctx) => { if (!ctx.op.sessionPublicState.findEmail || !ctx.op.sessionPublicState.findEmail.user) { return ctx.op.redirect("/find_email"); } return ctx.op.render("find_email"); }); } exports.buildFindEmailRoutes = buildFindEmailRoutes; //# sourceMappingURL=find_email.js.map