invalidate

suspend fun invalidate(startSignOut: (iapSignOut: IapSignOut) -> Unit): Result<Boolean>

Initiates a sign-out request that invalidates the user's identity within the web session and removes all associated tokens. After this function is called, the credential will no longer be usable.

Return

A Result that returns true if the sign-out request is successful, otherwise false. If an error occurs, the result will contain the error.

Since

200.8.0

Parameters

startSignOut

A lambda which is invoked when the Identity-Aware Proxy (IAP) user sign out prompt is required.