Home > @uniformdev/mesh-sdk-react > createDelegationFetch

createDelegationFetch() function

Warning: This API is now obsolete.

This beta identity delegation API may change with breaking changes.

fetch wrapper that injects the Mesh CSRF header, and on a BFF delegation_expired 401 calls reacquire() once then retries. A second expiry after reacquire is returned as-is.

Signature:

Parameters

Parameter

Type

Description

options

CreateDelegationFetchOptions

Returns:

typeof fetch