Skip to content

Commit

Permalink
Merge pull request #526 from DuendeSoftware/roland/absoluterefreshtok…
Browse files Browse the repository at this point in the history
…enlifetime0

Describe absoluterefreshtokenlifetime set to 0 in reference/models/client
  • Loading branch information
josephdecock authored Oct 2, 2024
2 parents b243d51 + 90d4e8e commit a687942
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions IdentityServer/v7/docs/content/reference/models/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,22 @@ public static IEnumerable<Client> Get()

* ***AbsoluteRefreshTokenLifetime***

Maximum lifetime of a refresh token in seconds. Defaults to 2592000 seconds / 30 days
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***

Sliding lifetime of a refresh token in seconds. Defaults to 1296000 seconds / 15 days
Sliding lifetime of a refresh token in seconds. Defaults to 1296000 seconds / 15 days.

* ***RefreshTokenUsage***
* ***ReUse***

the refresh token handle will stay the same when refreshing tokens
the refresh token handle will stay the same when refreshing tokens.

* ***OneTimeOnly***

Expand Down

0 comments on commit a687942

Please sign in to comment.