28 lines
689 B
C#
28 lines
689 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace FictionArchive.Service.UserService.Services.AuthenticationClient.Authentik;
|
|
|
|
public class AuthentikUserResponse
|
|
{
|
|
[JsonProperty("pk")]
|
|
public int Pk { get; set; }
|
|
|
|
[JsonProperty("username")]
|
|
public string Username { get; set; } = string.Empty;
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[JsonProperty("email")]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[JsonProperty("is_active")]
|
|
public bool IsActive { get; set; }
|
|
|
|
[JsonProperty("is_superuser")]
|
|
public bool IsSuperuser { get; set; }
|
|
|
|
[JsonProperty("uid")]
|
|
public string Uid { get; set; } = string.Empty;
|
|
}
|