basalt / auth/src / CsrfRejectedError
Class: CsrfRejectedError
Defined in: auth/src/plugin.ts:65
A cookie-authenticated, state-changing request came from another origin.
Extends
Constructors
Constructor
> new CsrfRejectedError(): CsrfRejectedError
Defined in: auth/src/plugin.ts:67
Returns
CsrfRejectedError
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/plugin.ts:66