SQL Authenticator
An authenticator that stores credentials in the Quetz SQL database using passlib. It ships with REST routes for CRUD operations on the credentials table.
Installation
Locally after cloning:
pip install -e .
Once uploaded to conda-forge:
mamba install -c conda-forge quetz-sql-authenticator
Usage
The authenticator should be active now. You can login by navigating to <HOST>/auth/sql/login.
CRUD operations
The authenticator provides REST routes to create, update, and delete credentials and to reset the entire table.
GET /api/sqlauth/credentials/: List all users.
GET /api/sqlauth/credentials/{username}: Verify that a user exists.
POST /api/sqlauth/credentials/{username}?password={password}: Create a new user.
PUT /api/sqlauth/credentials/{username}?password={password}: Update a user's password.
DELETE /api/sqlauth/credentials/{username}: Delete a user.
Metadata
Release files for quetz-sql-authenticator 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quetz-sql-authenticator-0.0.5.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quetz_sql_authenticator-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / quetz-sql-authenticator-0.0.5.tar.gz
| Download URL | quetz-sql-authenticator-0.0.5.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49212cf94c664723df9c7d24b1f44e87b06daa6f1522692095f6ceef7e6f8a6d
|
|
BLAKE2b-256 checksum How to use checksums |
3995140bcf347d925a77bf8ae6f1162f0c50539381997cc1bfc263b7797813dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / quetz_sql_authenticator-0.0.5-py3-none-any.whl
| Download URL | quetz_sql_authenticator-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da128349f55c834a347248cbbe5b9502d9e73337935f8f13632501415f3fe0e4
|
|
BLAKE2b-256 checksum How to use checksums |
d2ab2de929ce677b41b147e0e2c26ed33d4a802775db16d47f390443493b6370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|