authenticationRequired

open 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.