Přidání nového projektu - pokus o explorer

This commit is contained in:
Matěj Kubíček committed 2026-10-13 20:13:07 +02:00
1 parent b0b0b3ee34
commit d06a9f332b
48 files changed
+1429

No files matched your search

@@ -0,0 +1,27 @@
using System.Text.Json.Serialization;
namespace winui_learning_2.Models;
public class LoginResponse
{
[JsonPropertyName("token")]
public string? Token { get; set; }
[JsonPropertyName("accessToken")]
public string? AccessToken { get; set; }
[JsonPropertyName("access_token")]
public string? AccessTokenSnake { get; set; }
[JsonPropertyName("jwtToken")]
public string? JwtToken { get; set; }
[JsonPropertyName("jwt")]
public string? Jwt { get; set; }
[JsonPropertyName("username")]
public string? Username { get; set; }
public string? GetToken() =>
Token ?? AccessToken ?? AccessTokenSnake ?? JwtToken ?? Jwt;
}