mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21: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.Contracts.Requests.Authentication;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request model for user authentication.
|
||||
/// </summary>
|
||||
/// <param name="Username">The username of the account to authenticate.</param>
|
||||
/// <param name="Password">The password of the account to authenticate.</param>
|
||||
/// <param name="TotpCode">The TOTP (Time-Based One-Time Password) of the account to authenticate.</param>
|
||||
[DebuggerDisplay("Username: {Username}")]
|
||||
public record LoginRequest(
|
||||
string? Username,
|
||||
string? Password,
|
||||
string? TotpCode = null
|
||||
);
|
||||
Reference in new issue
Block a user