confirm Login
fun confirmLogin( context: Context, onSuccess: () -> Unit, onSynchronizationStarted: () -> Unit, onSynchronizationFinished: () -> Unit, onFail: (OpenIDError) -> Unit)
Content copied to clipboard
Called after receiving a BAD_DEVICE_ID error.
The BAD_DEVICE_ID error means the account is already used on another device. If you want to confirm using the account by the current device you just need the confirm by calling this method.
Parameters
context
The application context
on Success
The authentication has been successfully done using the OpenID.
on Synchronization Started
The synchronization has been started.
on Synchronization Finished
The synchronization is finished.
on Fail
Called when an error occurs.