otplib
Version:
TypeScript-first library for TOTP and HOTP with multi-runtime and plugin support
9 lines (8 loc) • 773 B
text/typescript
export { O as OTPAuthOptions, a as OTPFunctionalOptions, b as OTPStrategy, c as OTPVerifyFunctionalOptions } from './types-BBT_82HF.cjs';
export { generate, generateSecret, generateSync, generateURI, verify, verifySync } from './functional.cjs';
export { OTP, OTPClassOptions, OTPGenerateOptions, OTPURIGenerateOptions, OTPVerifyOptions } from './class.cjs';
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';