feat: add auth key for cache
This commit is contained in:
parent
a3a42dd5c2
commit
4240ad8110
@ -8,4 +8,6 @@ public class AuthService()
|
|||||||
|
|
||||||
private static string GenerateRefreshToken() => Guid.NewGuid().ToString().Replace("-", "") +
|
private static string GenerateRefreshToken() => Guid.NewGuid().ToString().Replace("-", "") +
|
||||||
GeneratorKey.GenerateString(32);
|
GeneratorKey.GenerateString(32);
|
||||||
|
|
||||||
|
private static string GetAuthCacheKey(string fingerprint) => $"{fingerprint}_auth_token";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user