NoOpAuthenticationCallback

class NoOpAuthenticationCallback : DittoAuthenticationCallback

Functions

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

Warns that the Ditto authentication token is getting old.

authenticationRequired
Link copied to clipboard
open override 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.

authenticationStatusDidChange
Link copied to clipboard
open fun authenticationStatusDidChange(authenticator: DittoAuthenticator)

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