GT Auth Client Functions
Project description
GT Auth Client
This is the Python GT Auth Client for FastAPI. It is used to authenticate with the GT Auth API.
Installation
You can install the package using pip:
pip install gtauthclient
Usage
An example of how to use the package is shown below:
from fastapi import FastAPI, Depends
from gtauthclient import GTAuthClient
auth = GTAuthClient(key="Your encryption key")
app = FastAPI()
@app.get("/v1/users", dependencies=[Depends(auth.verify_user)])
async def list_users():
return ["John", "Jane", "Jack"]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gtauthclient-0.0.7.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gtauthclient-0.0.7.tar.gz.
File metadata
- Download URL: gtauthclient-0.0.7.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b527c268512d33d49a8c0defffe44a8aa3b036ed2f082cc19cbfed89b1010469
|
|
| MD5 |
d3d0d3654141bf68a6e124682ce5e184
|
|
| BLAKE2b-256 |
712b8e4c9760bffedd06f586123f43387976800ad5d10106a34d2578070edcfb
|
File details
Details for the file gtauthclient-0.0.7-py3-none-any.whl.
File metadata
- Download URL: gtauthclient-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8723b9f96b863f499ec14dbdff228c9b22407eff6f337add719b1c9177cb8c5a
|
|
| MD5 |
1b6d01a297f0239ec4aa9bafa07a8d22
|
|
| BLAKE2b-256 |
f3645ee3ac89588396c441c39d5f8b30504f9156fd97c71aeecc5e1c8b40d0e9
|