Skip to main content
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.dev25498

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tma-authenticator 1.3.0.dev25498
File Size Uploaded
tma_authenticator-1.3.0.dev25498.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tma-authenticator 1.3.0.dev25498
File Interpreter ABI Platform
tma_authenticator-1.3.0.dev25498-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / tma_authenticator-1.3.0.dev25498.tar.gz

Download URL tma_authenticator-1.3.0.dev25498.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61d1c3db6bc6ce6ada2cc79dabca1287ad0baaca19038aea045465951bbceaeb
BLAKE2b-256 checksum
How to use checksums
f177b3f4f2a74393c06e7becd9adb58953b7b7a5bd551bbef6bf29043d560ff8
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.dev25498-py3-none-any.whl

Download URL tma_authenticator-1.3.0.dev25498-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3fc214de86c2d2c3530f8464040eefd43f1c4aa4e79950f8477769cb298d550
BLAKE2b-256 checksum
How to use checksums
475c74cabcbebf33c16deeec8daec7bb49cd1624d88e45ef21fddb1560b9087f
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 history Release notifications | RSS feed

3.0.0

2 release files

2.2.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

This release

1.3.0.dev25498 This release

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page