source: resTools_backend/backend/DTOs/AuthenticateResponse.cs@ a26f6a1

Last change on this file since a26f6a1 was a26f6a1, checked in by Danilo <danilo.najkov@…>, 23 months ago

full auth flow

  • Property mode set to 100644
File size: 396 bytes
Line 
1using backend.Entities;
2using Newtonsoft.Json;
3
4namespace backend.Models;
5
6
7public class AuthenticateResponse
8{
9 [JsonProperty]
10 public int Id { get; set; }
11 [JsonProperty]
12 public string Email { get; set; }
13 [JsonProperty]
14 public string Token { get; set; }
15 [JsonProperty]
16 public bool IsAdmin { get; set; }
17 [JsonProperty]
18 public bool IsConfirmed { get; set; }
19}
Note: See TracBrowser for help on using the repository browser.