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.1.2.dev21202
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.1.2.dev21202.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tma_authenticator-1.1.2.dev21202-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / tma_authenticator-1.1.2.dev21202.tar.gz
| Download URL | tma_authenticator-1.1.2.dev21202.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85985972ac22e0ab503fb13f405888f99f09fd3386e23f778da20affb2dde9eb
|
|
BLAKE2b-256 checksum How to use checksums |
3457af4948bf4bd1ebfab3728303669c68e3430177811f9f2f9937ed8e8f8936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.10 Linux/5.4.0-146-generic
|
Release files / tma_authenticator-1.1.2.dev21202-py3-none-any.whl
| Download URL | tma_authenticator-1.1.2.dev21202-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
375021fdb687da99d32bcb8a61f02c682c5e5c6289018f8920e70a805966f00b
|
|
BLAKE2b-256 checksum How to use checksums |
6f09927320bb5e4485061db9bacf826677ec490046502522d1452c29f5eb04a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.10 Linux/5.4.0-146-generic
|