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.3.0.dev25651
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.3.0.dev25651.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-1.3.0.dev25651-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / tma_authenticator-1.3.0.dev25651.tar.gz
| Download URL | tma_authenticator-1.3.0.dev25651.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44a6c1c9b5fb7a714882be00d8a248e9e73ccf092b08a1b097a9b00df0ec5d13
|
|
BLAKE2b-256 checksum How to use checksums |
2c742fa19428505d0ced427bd110214a8b849ca2533583f003c82063bee14b6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.8 Linux/5.4.0-146-generic
|
Release files / tma_authenticator-1.3.0.dev25651-py3-none-any.whl
| Download URL | tma_authenticator-1.3.0.dev25651-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6879f7112ba6ec2dea00ef62f3648cbd73bfeb648a19c2bea3e595312260b585
|
|
BLAKE2b-256 checksum How to use checksums |
fdd03abec2b2ab54da0a2a929b98d36281ed59c46b93f1643a6d6e34e23e65e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.8 Linux/5.4.0-146-generic
|