UNPKG

5.42 kBJavaScriptView Raw
1"use strict";
2var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3 if (k2 === undefined) k2 = k;
4 var desc = Object.getOwnPropertyDescriptor(m, k);
5 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6 desc = { enumerable: true, get: function() { return m[k]; } };
7 }
8 Object.defineProperty(o, k2, desc);
9}) : (function(o, m, k, k2) {
10 if (k2 === undefined) k2 = k;
11 o[k2] = m[k];
12}));
13var __exportStar = (this && this.__exportStar) || function(m, exports) {
14 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15};
16var __importDefault = (this && this.__importDefault) || function (mod) {
17 return (mod && mod.__esModule) ? mod : { "default": mod };
18};
19Object.defineProperty(exports, "__esModule", { value: true });
20exports.client = exports.VerifySignupShortService = exports.VerifySignupSetPasswordShortService = exports.VerifySignupSetPasswordLongService = exports.VerifySignupLongService = exports.SendResetPwdService = exports.ResetPwdShortService = exports.ResetPwdLongService = exports.ResendVerifySignupService = exports.PasswordChangeService = exports.IdentityChangeService = exports.CheckUniqueService = exports.AuthenticationManagementService = exports.removeVerification = exports.isVerified = exports.addVerification = exports.hooks = void 0;
21const setupAuthManagement_1 = __importDefault(require("./setupAuthManagement"));
22const hooks_1 = require("./hooks");
23Object.defineProperty(exports, "addVerification", { enumerable: true, get: function () { return hooks_1.addVerification; } });
24Object.defineProperty(exports, "isVerified", { enumerable: true, get: function () { return hooks_1.isVerified; } });
25Object.defineProperty(exports, "removeVerification", { enumerable: true, get: function () { return hooks_1.removeVerification; } });
26exports.default = setupAuthManagement_1.default;
27exports.hooks = {
28 addVerification: hooks_1.addVerification,
29 isVerified: hooks_1.isVerified,
30 removeVerification: hooks_1.removeVerification
31};
32var AuthenticationManagementService_1 = require("./services/AuthenticationManagementService");
33Object.defineProperty(exports, "AuthenticationManagementService", { enumerable: true, get: function () { return AuthenticationManagementService_1.AuthenticationManagementService; } });
34var CheckUniqueService_1 = require("./services/CheckUniqueService");
35Object.defineProperty(exports, "CheckUniqueService", { enumerable: true, get: function () { return CheckUniqueService_1.CheckUniqueService; } });
36var IdentityChangeService_1 = require("./services/IdentityChangeService");
37Object.defineProperty(exports, "IdentityChangeService", { enumerable: true, get: function () { return IdentityChangeService_1.IdentityChangeService; } });
38var PasswordChangeService_1 = require("./services/PasswordChangeService");
39Object.defineProperty(exports, "PasswordChangeService", { enumerable: true, get: function () { return PasswordChangeService_1.PasswordChangeService; } });
40var ResendVerifySignupService_1 = require("./services/ResendVerifySignupService");
41Object.defineProperty(exports, "ResendVerifySignupService", { enumerable: true, get: function () { return ResendVerifySignupService_1.ResendVerifySignupService; } });
42var ResetPwdLongService_1 = require("./services/ResetPwdLongService");
43Object.defineProperty(exports, "ResetPwdLongService", { enumerable: true, get: function () { return ResetPwdLongService_1.ResetPwdLongService; } });
44var ResetPwdShortService_1 = require("./services/ResetPwdShortService");
45Object.defineProperty(exports, "ResetPwdShortService", { enumerable: true, get: function () { return ResetPwdShortService_1.ResetPwdShortService; } });
46var SendResetPwdService_1 = require("./services/SendResetPwdService");
47Object.defineProperty(exports, "SendResetPwdService", { enumerable: true, get: function () { return SendResetPwdService_1.SendResetPwdService; } });
48var VerifySignupLongService_1 = require("./services/VerifySignupLongService");
49Object.defineProperty(exports, "VerifySignupLongService", { enumerable: true, get: function () { return VerifySignupLongService_1.VerifySignupLongService; } });
50var VerifySignupSetPasswordLongService_1 = require("./services/VerifySignupSetPasswordLongService");
51Object.defineProperty(exports, "VerifySignupSetPasswordLongService", { enumerable: true, get: function () { return VerifySignupSetPasswordLongService_1.VerifySignupSetPasswordLongService; } });
52var VerifySignupSetPasswordShortService_1 = require("./services/VerifySignupSetPasswordShortService");
53Object.defineProperty(exports, "VerifySignupSetPasswordShortService", { enumerable: true, get: function () { return VerifySignupSetPasswordShortService_1.VerifySignupSetPasswordShortService; } });
54var VerifySignupShortService_1 = require("./services/VerifySignupShortService");
55Object.defineProperty(exports, "VerifySignupShortService", { enumerable: true, get: function () { return VerifySignupShortService_1.VerifySignupShortService; } });
56__exportStar(require("./types"), exports);
57var client_1 = require("./client");
58Object.defineProperty(exports, "client", { enumerable: true, get: function () { return __importDefault(client_1).default; } });
59// commonjs
60if (typeof module !== 'undefined') {
61 module.exports = Object.assign(setupAuthManagement_1.default, module.exports);
62}