Ditto Authentication Callback
interface DittoAuthenticationCallback
Provides feedback to the developer about Ditto authentication status.
Phased out in 4.x — DittoIdentity and with it DittoAuthenticationCallback is being phased out, please use DittoConfig-based APIs instead and set the DittoAuthenticationExpirationHandler. This API will be replaced by DittoAuthenticationExpirationHandler in v5.
Inheritors
Functions
Link 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
Notifies the callback object that the authentication status did change. Use the authenticators property status to query for the current authentication status.