mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
feat: adds FastEndpoints core infrastructure and contracts to the web project
This commit is contained in:
1 parent
394b33efd2
commit
733e174cac
137 files changed
+3139
-158
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.UsersManagement;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the request model for user authentication.
|
||||
/// </summary>
|
||||
/// <param name="Username">The username of the account to authenticate. Required.</param>
|
||||
/// <param name="Password">The password of the account to authenticate. Required.</param>
|
||||
/// <param name="TotpCode">The TOTP (Time-Based One-Time Password) of the account to authenticate. Optional.</param>
|
||||
/// <param name="ReturnUrl">The URL to return to, after login.</param>
|
||||
[DebuggerDisplay("Username: {Username}")]
|
||||
public record LoginRequest(
|
||||
string? Username = null,
|
||||
string? Password = null,
|
||||
string? TotpCode = null,
|
||||
string? ReturnUrl = null
|
||||
);
|
||||
Reference in new issue
Block a user