/** * DTO for setting up MFA device * * Used to initiate MFA device setup using the appropriate provider. * User sub is obtained from authenticated context automatically. * * @example * ```typescript * const setup = await mfaService.setup({ * methodName: 'totp', * setupData: {} * }); * ``` */ /** * DTO for setting up MFA device * * User self-service DTO - no sub field. Service gets user from authenticated context. */ export declare class SetupMFADTO { /** * MFA method name * * Validation: * - Must be one of: totp, sms, email, passkey * - Max 50 characters * * Sanitization: * - Trimmed and lowercased * * @example "totp" */ methodName: string; /** * Optional provider-specific setup data * * Validation: * - Must be an object if provided * - Structure validated by MFA provider services * * @example { phoneNumber: '+1234567890' } for SMS */ setupData?: Record; } /** * Response DTO for MFA setup */ export declare class SetupMFAResponseDTO { /** * Provider-specific setup response * * Structure varies by method: * - TOTP: { secret, qrCode, manualEntryKey } * - SMS: { maskedPhone } * - Passkey: WebAuthn registration options */ setupData: Record; } //# sourceMappingURL=setup-mfa.dto.d.ts.map