UNPKG

payload-totp-temp

Version:

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

9 lines (8 loc) 242 B
import type { Payload, User } from 'payload'; type Args = { collection: string; payload: Payload; user: User; }; export declare function getTotpSecret({ collection, payload, user, }: Args): Promise<string | undefined>; export {};