basalt / auth/src / ApiKeyAmbiguousError
Class: ApiKeyAmbiguousError
Defined in: auth/src/apikeys-plugin.ts:49
The request presented two DIFFERENT API keys (Authorization: Bearer mk_… and the key header). Neither is picked: which credential authorizes a request must never depend on header precedence.
Extends
Constructors
Constructor
> new ApiKeyAmbiguousError(): ApiKeyAmbiguousError
Defined in: auth/src/apikeys-plugin.ts:51
Returns
ApiKeyAmbiguousError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 400 = 400
Defined in: auth/src/apikeys-plugin.ts:50