diff --git a/OpenHarbor.JwtTokenManager.Abstractions/JwtTokenManagerResult.cs b/OpenHarbor.JwtTokenManager.Abstractions/JwtTokenManagerResult.cs index e78b68d..7ee9c2d 100644 --- a/OpenHarbor.JwtTokenManager.Abstractions/JwtTokenManagerResult.cs +++ b/OpenHarbor.JwtTokenManager.Abstractions/JwtTokenManagerResult.cs @@ -2,7 +2,7 @@ namespace OpenHarbor.JwtTokenManager.Abstractions; public class JwtTokenManagerResult { - public required string Token { get; set; } + public required string AccessToken { get; set; } public required TokenType TokenType { get; set; } public required DateTime ExpiresAt { get; set; } public int ExpiresIn { get; set; } diff --git a/OpenHarbor.JwtTokenManager/JwtTokenManagerService.cs b/OpenHarbor.JwtTokenManager/JwtTokenManagerService.cs index e2eb49e..f344f56 100644 --- a/OpenHarbor.JwtTokenManager/JwtTokenManagerService.cs +++ b/OpenHarbor.JwtTokenManager/JwtTokenManagerService.cs @@ -71,7 +71,7 @@ public class JwtTokenManagerService(JwtTokenManagerOptions options, IHttpClientF var expiresAt = now.Add(expiration); var result = new JwtTokenManagerResult { - Token = tokenResponse.AccessToken, + AccessToken = tokenResponse.AccessToken, TokenType = tokenType, ExpiresAt = expiresAt, ExpiresIn = tokenResponse.ExpiresIn,