otplib
Version:
TypeScript-first library for TOTP and HOTP with multi-runtime and plugin support
9 lines (8 loc) • 770 B
TypeScript
export { O as OTPAuthOptions, a as OTPFunctionalOptions, b as OTPStrategy, c as OTPVerifyFunctionalOptions } from './types-BBT_82HF.js';
export { generate, generateSecret, generateSync, generateURI, verify, verifySync } from './functional.js';
export { OTP, OTPClassOptions, OTPGenerateOptions, OTPURIGenerateOptions, OTPVerifyOptions } from './class.js';
export { Base32Plugin, CryptoPlugin, HashAlgorithm, OTPGuardrails, OTPGuardrailsConfig, OTPResult, createGuardrails, stringToBytes, wrapResult, wrapResultAsync } from '@otplib/core';
export { TOTP, TOTPOptions, VerifyResult } from '@otplib/totp';
export { HOTP } from '@otplib/hotp';
export { NobleCryptoPlugin } from '@otplib/plugin-crypto-noble';
export { ScureBase32Plugin } from '@otplib/plugin-base32-scure';