Ditto Authentication Callback
Provides feedback to the developer about Ditto authentication status.
Functions
Link copied to clipboard
abstract fun authenticationExpiringSoon(authenticator: DittoAuthenticator, secondsRemaining: Long)
Content copied to clipboard
Warns that the Ditto authentication token is getting old.
Link copied to clipboard
There is no Ditto authentication token or it has expired. Sync will not work until there is a successful login using one of the login methods on DittoAuthenticator
.
Link copied to clipboard
open fun authenticationStatusDidChange(authenticator: DittoAuthenticator)
Content copied to clipboard
Notifies the callback object that the authentication status did change. Use the authenticator
s property status
to query for the current authentication status.