authrix
Version:
Lightweight, flexible authentication library for Node.js and TypeScript.
1 lines • 1.47 kB
JavaScript
import {f as f$1,g,i,h,k as k$1,j,e as e$2,d as d$2}from'./chunk-3WYYQECW.mjs';export{f as cleanupExpiredCodes,d as generateTwoFactorCode,g as getUserTwoFactorCodes,j as initiateEmailVerification,k as initiateSMSVerification,h as sendVerificationEmail,i as sendVerificationSMS,e as verifyTwoFactorCode}from'./chunk-3WYYQECW.mjs';import {e,d,c,b,a}from'./chunk-KPKS7MLL.mjs';export{d as getCurrentUserFromToken,e as isTokenValid,c as logoutCore,b as signinCore,a as signupCore}from'./chunk-KPKS7MLL.mjs';import'./chunk-BHP666OX.mjs';import'./chunk-A4X5QZSX.mjs';import'./chunk-YS4LLLFP.mjs';import'./chunk-5VQXQYKM.mjs';import {f,e as e$1,d as d$1,c as c$1,b as b$1,a as a$1}from'./chunk-5NOQNI5F.mjs';export{e as generateSecurePassword,a as hashPassword,f as needsRehash,d as validatePassword,c as verifyAndCheckRehash,b as verifyPassword}from'./chunk-5NOQNI5F.mjs';import {a as a$2}from'./chunk-GACMQPPZ.mjs';export{a as EmailServiceRegistry}from'./chunk-GACMQPPZ.mjs';import'./chunk-3SAEGOMQ.mjs';var P={signup:a,signin:b,logout:c,getCurrentUserFromToken:d,isTokenValid:e},R={generateTwoFactorCode:d$2,verifyTwoFactorCode:e$2,initiateEmailVerification:j,initiateSMSVerification:k$1,sendVerificationEmail:h,sendVerificationSMS:i,getUserTwoFactorCodes:g,cleanupExpiredCodes:f$1,EmailServiceRegistry:a$2},k={hashPassword:a$1,verifyPassword:b$1,verifyAndCheckRehash:c$1,validatePassword:d$1,generateSecurePassword:e$1,needsRehash:f};export{P as core,k as hash,R as twoFactor};