Skip to main content

Authenticate Users with a token

APP_ID = "{APP_ID}"
APP_CERTIFICATE = "{APP_CERTIFICATE}"


from agoraiotools.ChatTokenBuilder2 import ChatTokenBuilder

expire = 3600
user_id = "test_user"
#generateUserToken
token = ChatTokenBuilder.build_user_token(APP_ID, APP_CERTIFICATE, user_id, expire)


#generateAppToken
token = ChatTokenBuilder.build_app_token(APP_ID, APP_CERTIFICATE, expire)

Pypi https://pypi.org/project/agoraiotools/

Metadata

Release files for agoraiotools 0.3.4

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

Source distribution (sdist)

Source distribution for agoraiotools 0.3.4
File Size Uploaded Provenance
agoraiotools-0.3.4.tar.gz 15.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agoraiotools 0.3.4
File Interpreter ABI Platform
agoraiotools-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 34.6 kB

Release files / agoraiotools-0.3.4.tar.gz

Download URL agoraiotools-0.3.4.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0b93cc3718774a0ec1a219618ee5d1f09ee458a7c334885235a0cc90e8868637
BLAKE2b-256 checksum
How to use checksums
3ed58e22e67a62f195955a9b6e0ffac7a74486e6dd2dd347a6ff5a15ea865f57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / agoraiotools-0.3.4-py3-none-any.whl

Download URL agoraiotools-0.3.4-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
220bebba8fd8277d7ad124075bcc1a4ddc9a4f698c4d05909d3efe54cb5659a8
BLAKE2b-256 checksum
How to use checksums
dc29b9abe48cfebf037f259f3a2412453d472858cfd2c1196eaabbe681c520a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for agoraiotools 0.3.4

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

0.3.4 This release

2 release files No provenance

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