1#ifndef _DITTO_AUTHENTICATION_CALLBACK_
2#define _DITTO_AUTHENTICATION_CALLBACK_
45 std::shared_ptr<Authenticator> authenticator) = 0;
Provides feedback to the developer about Ditto authentication status.
Definition AuthenticationCallback.hpp:13
virtual void authentication_required(std::shared_ptr< Authenticator > authenticator)=0
There is no Ditto authentication token or it has expired. Sync will not work until there is a success...
virtual void authentication_status_did_change(std::shared_ptr< Authenticator > authenticator)=0
Notifies the callback object that the authentication status did change. Use the authenticators proper...
virtual void authentication_expiring_soon(std::shared_ptr< Authenticator > authenticator, std::int64_t seconds_remaining)=0
Warns that the Ditto authentication token is getting old.