[FA-55] Finished aside from deactivation/integration events

This commit is contained in:
gamer147
2025-12-29 14:09:41 -05:00
parent c0290cc5af
commit 01d3b94050
19 changed files with 377 additions and 75 deletions

View File

@@ -1,27 +1,27 @@
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace FictionArchive.Service.UserService.Services.AuthenticationClient.Authentik;
public class AuthentikUserResponse
{
[JsonPropertyName("pk")]
[JsonProperty("pk")]
public int Pk { get; set; }
[JsonPropertyName("username")]
[JsonProperty("username")]
public string Username { get; set; } = string.Empty;
[JsonPropertyName("name")]
[JsonProperty("name")]
public string Name { get; set; } = string.Empty;
[JsonPropertyName("email")]
[JsonProperty("email")]
public string Email { get; set; } = string.Empty;
[JsonPropertyName("is_active")]
[JsonProperty("is_active")]
public bool IsActive { get; set; }
[JsonPropertyName("is_superuser")]
[JsonProperty("is_superuser")]
public bool IsSuperuser { get; set; }
[JsonPropertyName("uid")]
[JsonProperty("uid")]
public string Uid { get; set; } = string.Empty;
}