Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / auth / FetchInit

Type Alias: FetchInit

FetchInit = Omit<RequestInit, "dispatcher"> & object

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:12

Extended RequestInit that supports undici dispatcher for TLS/mTLS. Uses unknown for dispatcher to avoid type conflicts between undici package and @types/node/undici-types.

Type Declaration

dispatcher?

optional dispatcher: unknown

undici dispatcher for custom TLS options (mTLS, self-signed certs)

Released under the Apache-2.0 License.