From dac7bda836e2a07dda454f6fbd246ea19a94b19f Mon Sep 17 00:00:00 2001 From: Michael Ensly Date: Wed, 18 Aug 2021 09:48:41 +1000 Subject: [PATCH] Add note to readme about persisting fresh tokens --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 051223462..d44bda865 100644 --- a/README.md +++ b/README.md @@ -589,6 +589,10 @@ self.authState?.performAction() { (accessToken, idToken, error) in } ``` +This also updates the AuthState object with current access, id, and refresh tokens. +If you are storing your AuthState in persistent storage, you should write the updated +copy in the callback to this method. + ### Custom User-Agents (iOS and macOS) Each OAuth flow involves presenting an external user-agent to the user, that