deauthenticate()
Home > @gooddata/sdk-backend-spi > IAnalyticalBackend > deauthenticate
IAnalyticalBackend.deauthenticate() method
Triggers deauthentication process against the backend.
Signature:
deauthenticate(returnTo?: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
returnTo | string | (Optional) url to redirect after successful relogin |
Returns:
Promise<void>
promise of the completed process, or rejection if deauthentication failed.