Skip to content
rw3iss Auth

Transport

Transport

Defined in: auth-client/src/core/types.ts:235

Wraps fetch. The default is a thin fetch wrapper that attaches the Authorization header when the SDK has a token. Custom impls can add retry, circuit breaking, observability, etc.

Methods

request()

request<T>(input): Promise<TransportResponse<T>>

Defined in: auth-client/src/core/types.ts:236

Type Parameters

T

T = unknown

Parameters

input

TransportRequest

Returns

Promise<TransportResponse<T>>