source: resTools_backend/backend/DTOs/AuthenticateResponse.cs@ 49b0bbd

Last change on this file since 49b0bbd was a26f6a1, checked in by Danilo <danilo.najkov@…>, 2 years ago

full auth flow

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