fix: reworked csrf
This commit is contained in:
parent
475266eef6
commit
bd868bb724
16 changed files with 39 additions and 150 deletions
11
api/securitySchemes/_index.yaml
Normal file
11
api/securitySchemes/_index.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# accessToken:
|
||||
# $ref: "./access_token.yaml"
|
||||
# csrfToken:
|
||||
# $ref: "./xsrf_token_cookie.yaml"
|
||||
XsrfAuthHeader:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: X-XSRF-TOKEN
|
||||
description: |
|
||||
Anti-CSRF token. Must match the `XSRF-TOKEN` cookie.
|
||||
Required for all state-changing requests (POST/PUT/PATCH/DELETE).
|
||||
Loading…
Add table
Add a link
Reference in a new issue