mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
📚⚡ simplified Admin Auth description
This commit is contained in:
parent
46fcb1f443
commit
2d186afa94
1 changed files with 1 additions and 2 deletions
|
|
@ -6,10 +6,9 @@
|
||||||
|
|
||||||
`Jreq` - Json Request, requires `application/json` as `content-type`, failing to do so results in error `406`
|
`Jreq` - Json Request, requires `application/json` as `content-type`, failing to do so results in error `406`
|
||||||
|
|
||||||
`A` - Admin, requires [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) in the header `Authorization`. This credential must be both a valid user and have a username of that of the admin account, failing to do so results in error `401`
|
|
||||||
|
|
||||||
`U` - User, requires [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) in the header `Authorization`. This credential must be a valid user, failing to do so results in error `401`
|
`U` - User, requires [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) in the header `Authorization`. This credential must be a valid user, failing to do so results in error `401`
|
||||||
|
|
||||||
|
`A` - Admin, same as `U` but in addition requires username supplied be equal to the admin account username
|
||||||
|
|
||||||
:heavy_check_mark:
|
:heavy_check_mark:
|
||||||
:heavy_multiplication_x:
|
:heavy_multiplication_x:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue