Initialisation
API Reference
The init function:import SuperTokensRequest from 'supertokens-react-native';
SuperTokensRequest.init("https://api.example.com/api/refresh", 440, true, {});
- To be called at least once before any http request is made to any of your APIs that require authentication.
- You only need to call this once in your RN app.
- Please see the API reference link above to understand the meaning of the various parameters.