Skip to main content
The Reach SDK requires callback handlers to manage authentication and tenant events.

Required Callbacks

onReauthRequested Callback

The onReauthRequested callback is triggered when the authentication token expires or becomes invalid. Your implementation should:
  1. Fetch a new token from your server
  2. Return the new token to update the SDK
The SDK will use the returned token to automatically update its authentication state. You do not need to manually dispose and reinitialize the SDK.