UNPKG

payload-totp

Version:

Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).

8 lines (7 loc) 241 B
import type { TOTP } from 'otpauth'; type Args = { forceWhiteBackgroundOnQrCode?: boolean; totp: TOTP; }; export default function QRCode({ forceWhiteBackgroundOnQrCode, totp }: Args): Promise<import("react").JSX.Element>; export {};