Add Application configuration #11
.envBackend.sln
ApiDto
Common
Requests
Endpoint
Common
Attributes
Exceptions
Interfaces
Services
Configuration
EnvironmentManager.cs
General
Swagger
Controllers
Endpoint.csprojMiddleware
Program.csProperties
Persistence
Security
@ -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";
|
||||||
}
|
}
|
Reference in New Issue
Block a user