Add hashing and other security features #12
@ -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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user