importSession is a simpler version of restoreSession in that it does not check the status of the current session to efficiently resume on a page load. Instead, it immediately executes a refresh in case the user still has a valid refresh token.
This is useful for the final step of OAuth and for SSO.
importSession
is a simpler version ofrestoreSession
in that it does not check the status of the current session to efficiently resume on a page load. Instead, it immediately executes arefresh
in case the user still has a valid refresh token.This is useful for the final step of OAuth and for SSO.