mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Implements account login
This commit is contained in:
1 parent
abc2777357
commit
38829d64ff
23 files changed
+826
-7
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Models.UsersManagement;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request model for user authentication.
|
||||
/// </summary>
|
||||
/// <param name="Username">The username used to authenticate.</param>
|
||||
/// <param name="Password">The password used to authenticate.</param>
|
||||
/// <param name="TotpCode">The TOTP (Time-Based One-Time Password) code used for two-factor authentication.</param>
|
||||
[DebuggerDisplay("Username: {Username}")]
|
||||
public record LoginRequestModel(
|
||||
string? Username = null,
|
||||
string? Password = null,
|
||||
string? TotpCode = null
|
||||
);
|
||||
Reference in new issue
Block a user