complete Login
fun completeLogin( context: Context, data: Intent, onSuccess: () -> Unit, onSynchronizationStarted: () -> Unit, onSynchronizationFinished: () -> Unit, onFail: (OpenIDError) -> Unit)
Content copied to clipboard
Complete the login using OpenID authentication credentials
Parameters
context
The application context.
data
The intent encapsulate the authorization response.
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.