Pre-release
This release is a pre-release and may not be stable for production use.
How to use
1. authorization.py
from tma_authenticator.tma_authentication_router import TMAAuthenticationRouter
from tma_authenticator.tma_authenticator import TMAAuthenticator
from database.users import UsersDatabase
from config import TELEGRAM_BOT_TOKEN, IMPERSONATE_ADMIN_PASSWORD
user_database: UsersDatabase = UsersDatabase()
authenticator = TMAAuthenticator(TELEGRAM_BOT_TOKEN, IMPERSONATE_ADMIN_PASSWORD, user_database)
authentication_router = authenticator.authentication_router
Metadata
Release files for tma-authenticator 1.2.0.dev23158
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tma_authenticator-1.2.0.dev23158.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-1.2.0.dev23158-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / tma_authenticator-1.2.0.dev23158.tar.gz
| Download URL | tma_authenticator-1.2.0.dev23158.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcec987dd64d93dc5c458cf6e92063d8037094fe4b8cf06d5d66d3c10b415377
|
|
BLAKE2b-256 checksum How to use checksums |
0e24659527509e95a784cb962aac53de7d804ddb132e22fc7da64d7df55f71d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.11.10 Linux/5.4.0-146-generic
|
Release files / tma_authenticator-1.2.0.dev23158-py3-none-any.whl
| Download URL | tma_authenticator-1.2.0.dev23158-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bad13698141a26cb3f7fe30e2a21e1b96a4b655262643d19124ef6194090e88
|
|
BLAKE2b-256 checksum How to use checksums |
448f6d29b1217f6b3ac69c30dc6767d632a6df3564d2b4f19d82ce27a960d01d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.11.10 Linux/5.4.0-146-generic
|