From a640703f2da8815dc26ad1600a6f206be1624379 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 1 Jun 2022 22:10:32 +0200 Subject: feat: Initial after clean slate --- .../src/Endpoints/Internal/Account/LoginPayload.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 server/src/Endpoints/Internal/Account/LoginPayload.cs (limited to 'server/src/Endpoints/Internal/Account/LoginPayload.cs') diff --git a/server/src/Endpoints/Internal/Account/LoginPayload.cs b/server/src/Endpoints/Internal/Account/LoginPayload.cs new file mode 100644 index 0000000..807662c --- /dev/null +++ b/server/src/Endpoints/Internal/Account/LoginPayload.cs @@ -0,0 +1,22 @@ +namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; + +/// +/// Payload for logging in a user. +/// +public class LoginPayload +{ + /// + /// Username of the user's account. + /// + public string Username { get; set; } + + /// + /// Password of the user's account. + /// + public string Password { get; set; } + + /// + /// Specify that the created session should be long lived and continually refreshed. + /// + public bool Persist { get; set; } +} -- cgit v1.3