Skip to content

Commit

Permalink
Add absolute refreshtokenexpiration scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Guijt committed Oct 1, 2024
1 parent 6cd9ed7 commit 90d4e8e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion IdentityServer/v7/docs/content/reference/models/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,13 @@ public static IEnumerable<Client> Get()

* ***AbsoluteRefreshTokenLifetime***

Maximum lifetime of a refresh token in seconds. Defaults to 2592000 seconds / 30 days. Zero allows refresh tokens that, when used with RefreshTokenExpiration = Sliding only expire after the SlidingRefreshTokenLifetime is passed.
Maximum lifetime of a refresh token in seconds. Defaults to 2592000 seconds / 30 days.

Setting this to 0 has the following effect:

- When *RefreshTokenExpiration* is set to *Absolute*, the behavior is the same as when no refresh tokens are used.
- When *RefreshTokenExpiration* is set to *Sliding*, refresh tokens only expire after the *SlidingRefreshTokenLifetime* has passed.


* ***SlidingRefreshTokenLifetime***

Expand Down

0 comments on commit 90d4e8e

Please sign in to comment.