/** * Attributes for backup code verification request. */ export declare class BackupCodeVerifyAttributesDTO { /** * The 8-character backup code (hex format). */ code: string; } /** * Data wrapper for backup code verification request. */ export declare class BackupCodeVerifyDataDTO { type: string; attributes: BackupCodeVerifyAttributesDTO; } /** * DTO for backup code verification during 2FA login flow. * * Used when a user provides a backup code to complete two-factor authentication. * Backup codes are single-use and marked as used after successful verification. * * Endpoint: POST /auth/two-factor/verify/backup */ export declare class BackupCodeVerifyDTO { data: BackupCodeVerifyDataDTO; } /** * Attributes for getting 2FA challenge. */ export declare class TwoFactorChallengeAttributesDTO { /** * The preferred 2FA method to use. */ method: "totp" | "passkey" | "backup"; } /** * Data wrapper for 2FA challenge request. */ export declare class TwoFactorChallengeDataDTO { type: string; attributes: TwoFactorChallengeAttributesDTO; } /** * DTO for requesting a 2FA challenge. * * Used to initiate the 2FA verification process for a specific method. * For passkeys, this returns WebAuthn authentication options. * For TOTP and backup codes, no challenge is needed (user provides code directly). * * Endpoint: POST /auth/two-factor/challenge */ export declare class TwoFactorChallengeDTO { data: TwoFactorChallengeDataDTO; } /** * Attributes for enabling 2FA. */ export declare class TwoFactorEnableAttributesDTO { /** * The preferred method for 2FA. */ preferredMethod: "totp" | "passkey"; } /** * Data wrapper for enabling 2FA. */ export declare class TwoFactorEnableDataDTO { type: string; attributes: TwoFactorEnableAttributesDTO; } /** * DTO for enabling 2FA. * * Used to enable two-factor authentication for the user. * Requires at least one 2FA method (TOTP or passkey) to be set up first. * * Endpoint: POST /auth/two-factor/enable */ export declare class TwoFactorEnableDTO { data: TwoFactorEnableDataDTO; } //# sourceMappingURL=two-factor-verify.dto.d.ts.map