mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-24 15:13:03 +02:00
Updated Setting up Authentication (markdown)
@@ -150,12 +150,6 @@ curl -X 'POST' \
|
|||||||
-d '{"username": "YOURUSERNAMEHERE", "password": "YOURPASSWORDHERE"}'
|
-d '{"username": "YOURUSERNAMEHERE", "password": "YOURPASSWORDHERE"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Further Reading
|
|
||||||
|
|
||||||
- The ArchiveBox API auth source code: [`archivebox/api/auth.py`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/api/auth.py#:~:text=API_AUTH_METHODS) + [`archivebox/api/v1_auth.py`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/api/v1_auth.py)
|
|
||||||
- The [`django-ninja` auth docs](https://django-ninja.dev/guides/authentication/) (powers our API)
|
|
||||||
- The [Swagger auth docs](https://swagger.io/docs/specification/authentication/) for the interactive API Docs UI
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
@@ -239,3 +233,11 @@ curl -X 'GET' \
|
|||||||
-u 'YOURUSERNAMEHERE:YOURPASSWORDHERE'
|
-u 'YOURUSERNAMEHERE:YOURPASSWORDHERE'
|
||||||
-H 'accept: application/json'
|
-H 'accept: application/json'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
#### Further Reading
|
||||||
|
|
||||||
|
- The ArchiveBox API auth implementation: [`archivebox/api/auth.py`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/api/auth.py#:~:text=API_AUTH_METHODS) + [`archivebox/api/v1_auth.py`](https://github.com/ArchiveBox/ArchiveBox/blob/dev/archivebox/api/v1_auth.py)
|
||||||
|
- The [`django-ninja` auth docs](https://django-ninja.dev/guides/authentication/) (which powers our API)
|
||||||
|
- The [Swagger auth docs](https://swagger.io/docs/specification/authentication/) for the interactive API Docs UI
|
Reference in New Issue
Block a user