Add hashing and other security features #12

Merged
Wesser merged 45 commits from feat/add-security into feat/add-setup 2024-05-29 06:42:47 +03:00
Showing only changes of commit 4240ad8110 - Show all commits

View File

@ -8,4 +8,6 @@ public class AuthService()
private static string GenerateRefreshToken() => Guid.NewGuid().ToString().Replace("-", "") +
GeneratorKey.GenerateString(32);
private static string GetAuthCacheKey(string fingerprint) => $"{fingerprint}_auth_token";
}