1
0
mirror of https://github.com/bitwarden/server synced 2025-12-30 15:14:02 +00:00

fix(global-settings): [PM-26092] Token Refresh Doc Enhancement (#6367)

* fix(global-settings): [PM-26092] Token Refresh Doc Enhancement - Enhanced documentation and wording for token refresh.
This commit is contained in:
Patrick-Pimentel-Bitwarden
2025-09-24 18:23:15 -04:00
committed by GitHub
parent 68f7e8c15c
commit 4b10c16419
2 changed files with 22 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ public class ApiClient : Client
AllowedGrantTypes = new[] { GrantType.ResourceOwnerPassword, GrantType.AuthorizationCode, WebAuthnGrantValidator.GrantType };
// Use global setting: false = Sliding (default), true = Absolute
RefreshTokenExpiration = globalSettings.IdentityServer.UseAbsoluteRefreshTokenExpiration
RefreshTokenExpiration = globalSettings.IdentityServer.ApplyAbsoluteExpirationOnRefreshToken
? TokenExpiration.Absolute
: TokenExpiration.Sliding;