payload-totp
Version:
Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).
9 lines (8 loc) • 319 B
TypeScript
import type { ServerComponentProps } from 'payload';
import type { PayloadTOTPConfig } from '../../types.js';
type Args = {
children: React.ReactNode;
pluginOptions: PayloadTOTPConfig;
} & ServerComponentProps;
export declare const TOTPProvider: (args: Args) => Promise<import("react").JSX.Element>;
export {};