logout

fun logout(callback: VKIDLogoutCallback, lifecycleOwner: LifecycleOwner, params: VKIDLogoutParams = VKIDLogoutParams {})

Logs out user and invalidates the access token.

Parameters

lifecycleOwner

The LifecycleOwner in which the logging out should be handled.

callback

VKIDLogoutCallback to handle the result of logging out.

params

Optional parameters.


suspend fun logout(callback: VKIDLogoutCallback, params: VKIDLogoutParams = VKIDLogoutParams {})

Logs out user and invalidates the access token.

Parameters

callback

VKIDLogoutCallback to handle the result of logging out.

params

Optional parameters.