Interface: TransportRequest
Interface: TransportRequest
Defined in: auth-client/src/core/types.ts:211
Properties
body?
optionalbody?:unknown
Defined in: auth-client/src/core/types.ts:215
headers?
optionalheaders?: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?
optionalsignal?:AbortSignal
Defined in: auth-client/src/core/types.ts:221
Abort signal — used by long-running calls and tests.
skipAuth?
optionalskipAuth?: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