confirmLogin

fun confirmLogin(    context: Context,     onSuccess: () -> Unit,     onSynchronizationStarted: () -> Unit,     onSynchronizationFinished: () -> Unit,     onFail: (OpenIDError) -> Unit)

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

onSuccess

The authentication has been successfully done using the OpenID.

onSynchronizationStarted

The synchronization has been started.

onSynchronizationFinished

The synchronization is finished.

onFail

Called when an error occurs.