TokenProvider
This class is responsible for providing new tokens if the current tokens were to expire. The standard implentation operates the refresh token that were retrieved during authentication for flows that don’t include an integration server. You should create a subclass of TokenProvider, and override the provideTokenReplacement method. In that method call the completion block passed as parameter and provide a new set of credentials, or an error.
-
Method called when the Sensibill SDK needs an access token. Override this method in your own implementation