UNPKG

payloadcms_otp_plugin

Version:

A comprehensive One-Time Password (OTP) authentication plugin for Payload CMS that enables secure passwordless authentication via SMS and email

11 lines (10 loc) 734 B
export { otpPlugin } from '../index.js'; export type { OtpPluginConfig } from '../index.js'; export { OtpCode, OTP_CODE_SLUG } from '../collections/OtpCode.js'; export { OTPService } from '../services/index.js'; export { sendOtpEndpointHandler, loginWithMobileEndpointHandler } from '../endpoints/customEndpointHandler.js'; export { getOtpConfig, sendOtp, submitOtp, resendOtp, resetToken } from '../actions/index.js'; export type { OtpConfig } from '../actions/index.js'; export { parseAcceptLanguage, getTranslation, getTranslationFromHeaders, createTranslationHelper } from '../utilities/translation.js'; export type { SupportedLanguage } from '../utilities/translation.js'; export { middlewareOtp } from '../middleware/index.js';