DittoAuthenticationCallback

Provides feedback to the developer about Ditto authentication status.

Inheritors

Functions

Link copied to clipboard
abstract fun authenticationExpiringSoon(authenticator: DittoAuthenticator, secondsRemaining: Long)

Warns that the Ditto authentication token is getting old.

Link copied to clipboard
abstract fun authenticationRequired(authenticator: DittoAuthenticator)

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

Notifies the callback object that the authentication status did change. Use the authenticators property status to query for the current authentication status.