Agora token generation utilities
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agoraiotools-0.3.4.tar.gz
(15.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agoraiotools-0.3.4.tar.gz.
File metadata
- Download URL: agoraiotools-0.3.4.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b93cc3718774a0ec1a219618ee5d1f09ee458a7c334885235a0cc90e8868637
|
|
| MD5 |
5b82b7fd49074525cd999633e890ddfd
|
|
| BLAKE2b-256 |
3ed58e22e67a62f195955a9b6e0ffac7a74486e6dd2dd347a6ff5a15ea865f57
|
File details
Details for the file agoraiotools-0.3.4-py3-none-any.whl.
File metadata
- Download URL: agoraiotools-0.3.4-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
220bebba8fd8277d7ad124075bcc1a4ddc9a4f698c4d05909d3efe54cb5659a8
|
|
| MD5 |
2829713c040aad757d1300e834b9d442
|
|
| BLAKE2b-256 |
dc29b9abe48cfebf037f259f3a2412453d472858cfd2c1196eaabbe681c520a0
|