Ditto Authentication Callback
interface DittoAuthenticationCallback
Content copied to clipboard
Provides feedback to the developer about Ditto authentication status.
Functions
authentication Expiring Soon
Link copied to clipboard
abstract fun authenticationExpiringSoon(authenticator: DittoAuthenticator, secondsRemaining: Long)
Content copied to clipboard
Warns that the Ditto authentication token is getting old.
authentication Required
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
.
authentication Status Did Change
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.