Provides DRF auth classes that are backed by various AWS resources
Project description
Installation
pip install djangorestframework-kicksaw-auth
Or with poetry
poetry add djangorestframework-kicksaw-auth
Usage
BasicApiGatewayApiKeyAuth
from djangorestframework_kicksaw_auth import BasicApiGatewayApiKeyAuth
@authentication_classes([BasicApiGatewayApiKeyAuth])
def endpoint(request: HttpRequest):
# ...
This authenticator reads basic auth and ensures the username and password match an API Gateway key
curl -u username:password -v localhost:8000/api/your/endpoint
Where username
is the name of your API key and password
is the API key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file djangorestframework-kicksaw-auth-1.0.0.tar.gz
.
File metadata
- Download URL: djangorestframework-kicksaw-auth-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.11 Linux/5.4.0-1055-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47735525c4b69ba2c143691ae545a752ca045884d66b3507d5ff286d0cb00ee2 |
|
MD5 | 144c2ef1141654c9a65a9674005b08e7 |
|
BLAKE2b-256 | 1f3fefc3eeffa3f4b26bd2024aa5c7091e6d2144c12e85591e078f0fadd25f4d |
File details
Details for the file djangorestframework_kicksaw_auth-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: djangorestframework_kicksaw_auth-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.11 Linux/5.4.0-1055-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2402d43677449ca3e53552ff995227330fe8e98aaf18271bd6f5d43b45b0e760 |
|
MD5 | 47981cf69b9805245a37c2e5bebb0432 |
|
BLAKE2b-256 | 0c61a3222fa684a0c4fdc6961aef8afeaff20cee73d6256ba9e5995ebdc35c53 |