Authorize API
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 40s

This commit is contained in:
2025-04-21 01:52:01 +02:00
parent 7aedbff784
commit b3212c5e0d
13 changed files with 130 additions and 74 deletions

View File

@@ -6,11 +6,14 @@ public class GlobalConstants
public readonly static Guid ADMINISTRATOR_USER_ID = Guid.Parse("{2AB56FCB-0CDE-4DAE-AC9C-FC7635B0D18A}");
public readonly static Guid MEMBER_ID = Guid.Parse("{BCE14DEA-1748-4A76-8485-ADEE83DF5EFD}");
public readonly static string ADMINISTRATOR = "Administrateur";
public readonly static string MEMBER = "Membre";
public const string ADMINISTRATOR = "Administrateur";
public const string MEMBER = "Membre";
public const string ADMIN_MEMBER = $"{ADMINISTRATOR}, {MEMBER}";
public readonly static int JWT_DURATION_HOUR = 12;
public const int JWT_DURATION_HOUR = 12;
public readonly static int NUMBER_PER_PAGE = 50;
public const int NUMBER_PER_PAGE = 50;
public const string LS_AUTH_STORAGE_KEY = "authToken";
}

View File

@@ -6,9 +6,9 @@ public class GameDetailDto
public string? Title { get; set; }
public DateTime? ReleaseDate { get; set; }
public DateTime? CreationDate { get; set; }
public int CreationUserId { get; set; }
public string CreationUserId { get; set; } = string.Empty;
public DateTime? ModificationDate { get; set; }
public int? ModificationUserId { get; set; }
public string? ModificationUserId { get; set; }
public double? StorageSpace { get; set; }
public string? Description { get; set; }
public int Interest { get; set; } = 3;