Function finCsrfFetch

  • An enhanced fetch API for CSRF token management with the FIN framework.

    Transparently handles CSRF token management (a.k.a. attest keys) and provides additional features for working with haystack data.

    Parameters

    • resource: RequestInfo

      The resource to request.

    • Optionaloptions: RequestInit

      Optional object containing any custom settings.

    • OptionalfetchFunc: FetchMethod

      Optional fetch function to use instead of global fetch.

    Returns Promise<Response>

    A promise that resolves to a response object.