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

    Function storeCsrfToken

    • Stores the given CSRF token into local storage.

      Parameters

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

      Returns void