fun subscribeToAuthenticationChange(callback: (AuthenticationEvent) -> Unit): AuthenticationSubscription
Subscribes to changes on the authentication state of the DatasyncService associated with this DatasyncManager instance, and calls asynchronously the given callback each time this state changes.
The returned AuthenticationSubscription can be cancelled further when needed.