Polianin Nikita
cd6f25deba
All logic related to token manipulation has been transferred to the AuthService. Also added TOTP 2FA and rethought the logic of logging into the application
18 lines
422 B
C#
18 lines
422 B
C#
namespace Mirea.Api.Dto.Responses;
|
|
|
|
/// <summary>
|
|
/// Represents the steps required after a login attempt.
|
|
/// </summary>
|
|
public enum AuthenticationStep
|
|
{
|
|
/// <summary>
|
|
/// No additional steps required; the user is successfully logged in.
|
|
/// </summary>
|
|
None,
|
|
|
|
/// <summary>
|
|
/// TOTP (Time-based One-Time Password) is required for additional verification.
|
|
/// </summary>
|
|
TotpRequired,
|
|
}
|