Skip to main content

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)

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

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agoraiotools-0.3.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

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

Hashes for agoraiotools-0.3.4.tar.gz
Algorithm Hash digest
SHA256 0b93cc3718774a0ec1a219618ee5d1f09ee458a7c334885235a0cc90e8868637
MD5 5b82b7fd49074525cd999633e890ddfd
BLAKE2b-256 3ed58e22e67a62f195955a9b6e0ffac7a74486e6dd2dd347a6ff5a15ea865f57

See more details on using hashes here.

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

Hashes for agoraiotools-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 220bebba8fd8277d7ad124075bcc1a4ddc9a4f698c4d05909d3efe54cb5659a8
MD5 2829713c040aad757d1300e834b9d442
BLAKE2b-256 dc29b9abe48cfebf037f259f3a2412453d472858cfd2c1196eaabbe681c520a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page