basalt / auth/src / ApiKeyNotAllowedError
Class: ApiKeyNotAllowedError
Defined in: auth/src/apikeys-plugin.ts:57
The route only accepts an interactive session, not an API key.
Extends
Constructors
Constructor
> new ApiKeyNotAllowedError(): ApiKeyNotAllowedError
Defined in: auth/src/apikeys-plugin.ts:59
Returns
ApiKeyNotAllowedError
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: 403 = 403
Defined in: auth/src/apikeys-plugin.ts:58