fix: add private to get EncryptKey
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 2m34s

This commit is contained in:
Polianin Nikita 2024-06-13 00:42:41 +03:00
parent eba11f515d
commit 21866d54cb

View File

@ -13,7 +13,7 @@ public class JwtTokenService : IAccessToken
public required string Audience { private get; init; }
public TimeSpan Lifetime { private get; init; }
public ReadOnlyMemory<byte> EncryptionKey { get; init; }
public ReadOnlyMemory<byte> EncryptionKey { private get; init; }
public ReadOnlyMemory<byte> SigningKey { private get; init; }
public (string Token, DateTime ExpireIn) GenerateToken(string userId)