revoke

abstract suspend fun revoke(params: B2BSessions.RevokeParams = RevokeParams()): BaseResponse

Revoke a Session and immediately invalidate all its tokens.

Return

BaseResponse

Parameters

params

required for revoking a session


abstract fun revoke(params: B2BSessions.RevokeParams = RevokeParams(), callback: (BaseResponse) -> Unit)

Revoke a Session and immediately invalidate all its tokens.

Parameters

params

required for revoking a session

callback

a callback that receives a BaseResponse