diff --git a/Endpoint/Common/Services/Security/JwtTokenService.cs b/Endpoint/Common/Services/Security/JwtTokenService.cs index 7c3225f..f5f7429 100644 --- a/Endpoint/Common/Services/Security/JwtTokenService.cs +++ b/Endpoint/Common/Services/Security/JwtTokenService.cs @@ -13,7 +13,7 @@ public class JwtTokenService : IAccessToken public required string Audience { private get; init; } public TimeSpan Lifetime { private get; init; } - public ReadOnlyMemory EncryptionKey { get; init; } + public ReadOnlyMemory EncryptionKey { private get; init; } public ReadOnlyMemory SigningKey { private get; init; } public (string Token, DateTime ExpireIn) GenerateToken(string userId)