Skip to content

Interface: TransportRequest

Interface: TransportRequest

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

Properties

body?

optional body?: unknown

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


headers?

optional headers?: Record<string, string>

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


method

method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"

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


signal?

optional signal?: AbortSignal

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

Abort signal — used by long-running calls and tests.


skipAuth?

optional skipAuth?: boolean

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

If true, the transport SKIPS attaching the Authorization header even if a token exists. Used by /auth/login etc. to avoid leaking an old token’s identity into a new login attempt.


url

url: string

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