partnerToken
from the EHR system. This token is exchanged with the Suki Platform to obtain an SDP access token, which is then used for all subsequent API calls.
partnerToken
provided during initialization.
The SDK monitors the expiration time of the current SDP token and refreshes it in the background using the original partnerToken
. This process is fully automatic and requires no manual intervention.
partnerToken
must still be valid at the time of refresh. If it is expired or invalid, the SDK will not be able to obtain a new SDP token, and SDK operations may fail as a result.
To prevent this, you can update the partnerToken
at runtime using the setPartnerToken
method—no reinitialization required.