From 2f45d1b565c0033d009cf8bb5564907c7822c21f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 8 May 2024 20:21:27 -0700 Subject: [PATCH] Updated Setting up Authentication (markdown) --- Setting-up-Authentication.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Setting-up-Authentication.md b/Setting-up-Authentication.md index 716ef52..d726b52 100644 --- a/Setting-up-Authentication.md +++ b/Setting-up-Authentication.md @@ -150,12 +150,6 @@ curl -X 'POST' \ -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 -
> [!TIP] @@ -239,3 +233,11 @@ curl -X 'GET' \ -u 'YOURUSERNAMEHERE:YOURPASSWORDHERE' -H 'accept: application/json' ``` + +
+ +#### 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 \ No newline at end of file