Quick summary
The SDK automatically handles access token refreshes to ensure uninterrupted access to Suki services. It monitors the token’s expiration time and refreshes it in the background before it expires using the
Update the
partnerToken you provided during initialization.Update the
partnerToken at runtime by calling the setPartnerToken method without requiring re-authentication.Authentication & token exchange
The Suki Platform uses a token exchange mechanism to securely authenticate and authorize your access to the SDK. Refer to Partner authentication guide for more information. When you initialize the SDK, you must provide apartnerToken (which you receive from the EHR system). The SDK exchanges this partnerToken with the Suki Platform to get a Suki access token. All subsequent API calls use this Suki access token for authorization.
Automatic token refresh
The SDK automatically handles access token refreshes to ensure you have uninterrupted access to Suki services. It monitors the token’s expiration time and refreshes it in the background before it expires. This process is fully automatic and uses thepartnerToken you provided during initialization.