Skip to main content

actions/disconnect

Actions

disconnect()

disconnect(config): Promise\<boolean>

Disconnect the user from the ComPilot Identity SDK.

Parameters

config

The ComPilot Identity SDK configuration.

Returns

Promise\<boolean>

A promise that resolves to true if the user was successfully disconnected, or false if the user is already disconnected or in the process of disconnecting.

Throws

If the disconnect request times out.