logout

fun logout(handleCallback: (Boolean) -> Unit? = null)

Accessory method that perform a logout.

Parameters

handleCallback

a callback that return a Boolean. true if successfully logout, false otherwise