// EN: Command to enable 2FA
// VI: Command để bật 2FA

using MediatR;

namespace IamService.API.Application.Commands.Auth;

/// <summary>
/// EN: Command to enable 2FA for user.
/// VI: Command để bật 2FA cho user.
/// </summary>
public record Enable2FACommand(
    Guid UserId
) : IRequest<Enable2FAResult>;

/// <summary>
/// EN: Result of enabling 2FA.
/// VI: Kết quả bật 2FA.
/// </summary>
public record Enable2FAResult(
    bool Success,
    string SecretKey,
    string QrCodeBase64,
    string ManualEntryKey,
    string[] RecoveryCodes
);
