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.dev23148
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.dev23148.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-1.2.0.dev23148-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / tma_authenticator-1.2.0.dev23148.tar.gz
| Download URL | tma_authenticator-1.2.0.dev23148.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82485648037eb567ffa9750eae54fdfd230cde680ff0981a1be6dc53743e4ab2
|
|
BLAKE2b-256 checksum How to use checksums |
fcaa285e1885059c734bf76595936a53a7b357725f83cffff5e27879385d7c76
|
| 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.dev23148-py3-none-any.whl
| Download URL | tma_authenticator-1.2.0.dev23148-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ee0021af4a72bdfae73b814cf423352ff49923bcbbd268f35ae12f90a2ccf2d
|
|
BLAKE2b-256 checksum How to use checksums |
818bc8a4c54404528fd0da324dcf14fda50250888b2334c68bfe355705a78aa3
|
| 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
|