Arc.React
    Preparing search index...

    Interface IIdentityContext<TDetails>

    Extends IIdentity with actions available from the React identity context.

    interface IIdentityContext<TDetails = object> {
        clearIdentity: () => void;
    }

    Type Parameters

    • TDetails = object

    Hierarchy

    Index

    Properties

    Properties

    clearIdentity: () => void

    Clears the identity cookie and resets the identity state to not-set.

    Call this when the user logs out to ensure subsequent requests and WebSocket connections do not carry stale credentials. Typically followed by ArcConfiguration.reconnectQueries to re-establish query connections without the old credentials.