refreshSession shouldn't be called directly. Developers should call getAccessToken which refreshes the session as needed.
Removed the authkitClientState checks from refreshSession (this avoids issues like getAccessToken not refreshing when a concurrent refresh has already started. (More improvements to come for avoiding needless refreshes).
refreshSession
shouldn't be called directly. Developers should callgetAccessToken
which refreshes the session as needed.Removed the authkitClientState checks from
refreshSession
(this avoids issues likegetAccessToken
not refreshing when a concurrent refresh has already started. (More improvements to come for avoiding needless refreshes).