Skip to content

Commit 391259c

Browse files
authoredAug 23, 2021
Add note about persisting AuthState after token refresh [skip ci]
1 parent 4caa904 commit 391259c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ authState.performActionWithFreshTokens(service, new AuthStateAction() {
409409
});
410410
```
411411

412+
This also updates the AuthState object with current access, id, and refresh tokens.
413+
If you are storing your AuthState in persistent storage, you should write the updated
414+
copy in the callback to this method.
415+
412416
### Ending current session
413417

414418
Given you have a logged in session and you want to end it. In that case you need to get:

0 commit comments

Comments
 (0)
Please sign in to comment.