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