General information
The solution for user login and registration is based on the Login product. Authentication settings for your project are available in Publisher Account in the Login section.
It is recommended to implement the following authentication logic at application launch:
- Load the previously saved user token. To do this, call the
AuthViaSavedToken
SDK method. The method returnstrue
if the stored token authentication was successful. - Open the application page:
- If the
AuthViaSavedToken
method returnedtrue
, refresh the user’s token by calling the SDK’sRefreshToken
method and open the main page of the application. - If the
AuthViaSavedToken
method returnedfalse
, open the sign-up/login page.
- If the
Note
Note that the Xsolla Privacy Policy Agreement doesn’t mean user data will be used. If you plan to collect and process this kind of data, make sure that your actions comply with the law. You should ask users for their permission to collect and process their data or inform them about the Privacy Policy Agreement.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Continue reading
Last updated:
December 20, 2024
Found a typo or other text error? Select the text and press Ctrl+Enter.