Add key length annotation to Identifiable

This commit is contained in:
2025-09-01 21:50:00 +02:00
parent 29d21f06e5
commit 1c6398414d
12 changed files with 1065 additions and 21 deletions

View File

@@ -5,8 +5,8 @@ namespace API;
public static class TokenGen
{
private const int MinimumLength = 16;
private const int MaximumLength = 64;
public const int MinimumLength = 16;
public const int MaximumLength = 64;
private const string Chars = "abcdefghijklmnopqrstuvwxyz0123456789";
public static string CreateToken(Type t, params string[] identifiers) => CreateToken(t.Name, identifiers);