Skip to content
rw3iss Auth

TransportRequest

TransportRequest

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

Properties

body?

optional body?: unknown

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


headers?

optional headers?: Record<string, string>

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


method

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

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


signal?

optional signal?: AbortSignal

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

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


skipAuth?

optional skipAuth?: boolean

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

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:241