revoke

abstract suspend fun revoke(): BaseResponse

Wraps the sessions revoke API endpoint which revokes a session

Return

BaseResponse response from backend


abstract fun revoke(callback: (BaseResponse) -> Unit)

Wraps the sessions revoke API endpoint which revokes a session

Parameters

callback

calls callback with BaseResponse response from backend