What is the best practice for persisting authentication in an HTML5 app? For example, in my app I am logging in via LoginWithEmail and storing the EntityTokenReponse in a cookie. Subsequent API calls after login work fine, but after the browser is refreshed the authentication state is lost in PlayFab(I see null values for properties in _internalSettings). What PlayFab interface(s) should I use to restore the auth state from the cookie values? Or am I missing some pieces here?
Thanks much