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.dev25497
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.dev25497.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-1.3.0.dev25497-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / tma_authenticator-1.3.0.dev25497.tar.gz
| Download URL | tma_authenticator-1.3.0.dev25497.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d57f1bea6e29e16fa3e1ca63b846b23632b9fd166b03d31eb7546a32a744cf9b
|
|
BLAKE2b-256 checksum How to use checksums |
fb38d2bdc16928cdcc5929133e9507d32754f7d6b30dd981cfa34d5b7356d021
|
| 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.dev25497-py3-none-any.whl
| Download URL | tma_authenticator-1.3.0.dev25497-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
241bfd90d7120b2c4e3fb7b228071a7dfdb2934f778791f98fdb96935d6e38ea
|
|
BLAKE2b-256 checksum How to use checksums |
2fd968fe9d44c4ca404933577d4ddfedaed0a4d6b1fa0466328cad85ac98262f
|
| 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
|