feat: add auth key for cache

This commit is contained in:
Polianin Nikita 2024-05-29 05:36:26 +03:00
parent a3a42dd5c2
commit 4240ad8110

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";
}