aswi20220x00-gitlab/Backend/Models/Authentication/LoginResponse.cs @ 3c161f5b
1 | c349bab3 | Lukáš Vlček | namespace Models.Authentication; |
---|---|---|---|
2 | |||
3 | public class LoginResponse |
||
4 | {
|
||
5 | public LoginResponse(bool ok, string token, DateTime expiration) |
||
6 | {
|
||
7 | Ok = ok; |
||
8 | Token = token; |
||
9 | Expiration = expiration; |
||
10 | }
|
||
11 | |||
12 | public LoginResponse() |
||
13 | {
|
||
14 | }
|
||
15 | |||
16 | 11f447b9 | Vojtěch Bartička | #nullable disable |
17 | c349bab3 | Lukáš Vlček | public bool Ok { get; set; } |
18 | public string Token { get; set; } |
||
19 | public DateTime Expiration { get; set; } |
||
20 | }
|