UNPKG

payload-totp

Version:

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

8 lines (7 loc) 268 B
import type { PayloadHandler } from 'payload'; import type { PayloadTOTPConfig } from '../types.js'; export declare function removeEndpointHandler(pluginOptions: PayloadTOTPConfig): PayloadHandler; export interface IResponse { message?: string; ok: boolean; }