UNPKG

payload-totp-temp

Version:

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

8 lines (7 loc) 283 B
import type { TextFieldServerProps } from 'payload'; import type { PayloadTOTPConfig } from '../../types.js'; type Args = { pluginOptions: PayloadTOTPConfig; } & TextFieldServerProps; export declare const TOTPField: (args: Args) => import("react").JSX.Element | null; export {};