logout

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

Logs out user and invalidates the access token.

Since

2.0.0-alpha

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.

Since

2.0.0-alpha

Parameters

callback

VKIDLogoutCallback to handle the result of logging out.

params

Optional parameters.