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.0.0.dev22665

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.0.0.dev22665
File Size Uploaded Provenance Actions
tma_authenticator-1.0.0.dev22665.tar.gz 4.0 kB Without provenance Details for tma_authenticator-1.0.0.dev22665.tar.gz

Built distribution (wheel)

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

Total release size: 10.0 kB

Release files / tma_authenticator-1.0.0.dev22665.tar.gz

Download URL tma_authenticator-1.0.0.dev22665.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
60b0da3798a524d47deb8a62207ee6468f6fc3073a156c2aa1b7be8feb0511d0
BLAKE2b-256 checksum
How to use checksums
51ce6cda258ee0e4726ba47c4431dfb9c7401fd6ae55ae0d5c8dc8fb46df60df
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.0.0.dev22665-py3-none-any.whl

Download URL tma_authenticator-1.0.0.dev22665-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
254aca4b0dc46c4ad6157c4d5ce306202844ff25e80aaefe8044d36da33fa6ab
BLAKE2b-256 checksum
How to use checksums
cbb4f39aee34805e80990f7e8ec2d5ccd341f860a920d68bd4b866f61bb11d17
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

Security for tma-authenticator 1.0.0.dev22665

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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