endSession

fun endSession(    data: Intent,     onSuccess: () -> Unit,     onFail: (OpenIDError) -> Unit)

Call this method in order to execute the sign out process, which sign the user out.

Parameters

data

The intent encapsulate the end session response.

onSuccess

The session has been successfully ended.

onFail

Called when an error occurs.