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