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 0.0.1.dev26823
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-0.0.1.dev26823.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-0.0.1.dev26823-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / tma_authenticator-0.0.1.dev26823.tar.gz
| Download URL | tma_authenticator-0.0.1.dev26823.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea6c185fa0ec2ee0eb36716f3d2858ef7896e9d1e57eeeb900cc9355a0ca0fa2
|
|
BLAKE2b-256 checksum How to use checksums |
4e9a86977d15cc131023e3203a42dd501cd98488a2505504e6c751322861feb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.8 Linux/5.4.0-146-generic
|
Release files / tma_authenticator-0.0.1.dev26823-py3-none-any.whl
| Download URL | tma_authenticator-0.0.1.dev26823-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
485ee7cc257cad3a87dada92c0d5086b000d70b610f43fa849dcfe1adfe25887
|
|
BLAKE2b-256 checksum How to use checksums |
118fbc49850a1a7cb4949d4196667d4f80d853525abf6795b91bebdbe8f6b05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.8 Linux/5.4.0-146-generic
|