DittoAuthenticationCallback

interface DittoAuthenticationCallback

Provides feedback to the developer about Ditto authentication status.

Functions

authenticationExpiringSoon
Link copied to clipboard
abstract fun authenticationExpiringSoon(authenticator: DittoAuthenticator, secondsRemaining: Long)
Warns that the Ditto authentication token is getting old.
authenticationRequired
Link copied to clipboard
abstract fun authenticationRequired(authenticator: DittoAuthenticator)
There is no Ditto authentication token or it has expired.
authenticationStatusDidChange
Link copied to clipboard
open fun authenticationStatusDidChange(authenticator: DittoAuthenticator)
Notifies the callback object that the authentication status did change.