CredentialProvider
interface CredentialProvider
Supplies runtime credentials to the SDK's authentication interceptors.
The SDK never stores or manages credentials itself. Implement this interface in your application and provide it via DI so that the interceptors can retrieve the current API user ID, API key, and access token on every request.
Implementations are responsible for storage (e.g. SharedPreferences, DataStore) and for any expiry logic.