You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -237,6 +237,8 @@ Refresh tokens can be invalidated or revoked at any time, for different reasons.
237
237
238
238
### Token timeouts
239
239
240
+
Using [token lifetime configuration](active-directory-configurable-token-lifetimes.md), the lifetime of refresh tokens can be altered. It is normal and expected for some tokens to go without use (e.g. the user does not open the app for 3 months) and therefore expire. Apps will encounter scenarios where the login server rejects a refresh token due to its age.
241
+
240
242
* MaxInactiveTime: If the refresh token hasn't been used within the time dictated by the MaxInactiveTime, the Refresh Token will no longer be valid.
241
243
* MaxSessionAge: If MaxAgeSessionMultiFactor or MaxAgeSessionSingleFactor have been set to something other than their default (Until-revoked), then reauthentication will be required after the time set in the MaxAgeSession* elapses.
242
244
* Examples:
@@ -245,6 +247,8 @@ Refresh tokens can be invalidated or revoked at any time, for different reasons.
245
247
246
248
### Revocation
247
249
250
+
Refresh tokens can be revoked by the server due to a change in credentials, or due to use or admin action. Refresh tokens fall into two classes - those issued to confidential clients (the rightmost column) and those issued to public clients (all other columns).
@@ -260,7 +264,7 @@ Refresh tokens can be invalidated or revoked at any time, for different reasons.
260
264
>
261
265
> Primary Refresh Tokens (PRT) on Windows 10 are segregated based on the credential. For example, Windows Hello and password have their respective PRTs, isolated from one another. When a user signs-in with a Hello credential (PIN or biometrics) and then changes the password, the password based PRT obtained previously will be revoked. Signing back in with a password invalidates the old PRT and requests a new one.
262
266
>
263
-
> Refresh tokens aren't invalidated or revoked when used to fetch a new access token and refresh token.
267
+
> Refresh tokens aren't invalidated or revoked when used to fetch a new access token and refresh token. However, your app should discard the old one as soon as it's used and replace it with the new one, as the new token has a new expiration time in it.
0 commit comments