auth-vir - v3.1.0
    Preparing search index...

    Function wipeCurrentCsrfToken

    • Wipes the current stored CSRF token. This should be used by client (frontend) code to logout a user or react to a session timeout.

      Parameters

      • options: Readonly<
            _RequireExactlyOne<
                { csrfHeaderName: string; csrfHeaderPrefix: string },
                "csrfHeaderPrefix" | "csrfHeaderName",
            >,
        > & PartialWithUndefined<{ localStorage: Pick<Storage, "removeItem"> }>

      Returns void