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