Add Application configuration #11

Merged
Wesser merged 128 commits from feat/add-setup into release/v1.0.0 2024-06-01 07:35:30 +03:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 916b3795ed - Show all commits

View File

@ -5,5 +5,6 @@ public class PreAuthToken
public required string Fingerprint { get; set; } public required string Fingerprint { get; set; }
public required string UserAgent { get; set; } public required string UserAgent { get; set; }
public required string UserId { get; set; } public required string UserId { get; set; }
public required string Ip { get; set; }
public required string Token { get; set; } public required string Token { get; set; }
} }

View File

@ -27,7 +27,8 @@ public class PreAuthService(ICacheService cache)
Fingerprint = request.Fingerprint, Fingerprint = request.Fingerprint,
UserId = userId, UserId = userId,
UserAgent = request.UserAgent, UserAgent = request.UserAgent,
Token = preAuthToken Token = preAuthToken,
Ip = request.Ip
}; };
await cache.SetAsync( await cache.SetAsync(