Skip to main content

AccelByte IAM Python SDK

Project description

IAM Python SDK

PyPI Status GitHub Workflow Status Python Version License

AccelByte IAM Python SDK is a software development kit to help python developers build their own services/apps that makes use of AccelByte User Account Management services [https://accelbyte.io/user-account-management/].

Features

  • Client token grant and validation

  • Sync and async client

  • Validate access token live on IAM service and local using JWKs

  • Get role and validate permission

  • Validate scope, role and audience

  • Verify ban, phone and email user status

  • Background refresh token, jwks and revocation list

  • Flask and FastAPI framework support with CSRF protection and CORS options

Changelog

1.5.0 (2026-04-28)

  • Add support for Python 3.10, 3.11, 3.12, 3.13, and 3.14

  • Update Click dependency to >=8.1.3 for Flask 3.x compatibility

  • Update Flask support to <4.0 (now supports Flask 3.1.3)

  • Update bitarray to >=2.9.0 for Python 3.14 compatibility

  • Update mmh3 to >=4.0.0 for Python 3.14 compatibility

  • Update Flask imports to use direct imports from flask module instead of flask.helpers and flask.wrappers for better Flask 3.x compatibility

1.4.3 (2025-09-25)

  • Update pyjwt to 2.4.0

1.4.2 (2025-01-08)

  • Add referer header cache

1.4.1 (2024-05-17)

  • Fixing user permission expand issue

1.3.3 (2022-08-04)

  • Fixing cookie token issue

  • Refactor getting access token function

  • Fixing CORS handler

1.3.2 (2022-06-30)

  • Fixing multiple namespace_role permission validation

  • Disable default verify aud by pyjwt

  • Reformat logging

1.3.1 (2022-06-14)

  • Code cleaning

1.3.0 (2022-06-10)

  • Add option for allowing referer header validation with subdomain

1.2.3 (2022-06-06)

  • Fixing memory leak issue.

1.2.2 (2022-04-18)

  • Fixing null revoked users issue.

1.2.1 (2022-04-13)

  • Change default IAM strict referer validation to false.

1.2.0 (2022-04-11)

  • Standardize error response.

1.1.0 (2022-03-28)

  • Add asyncio client support.

  • Add FastAPI frameworks support.

1.0.0 (2021-11-25)

  • Add bloom filter support for token revocation.

0.12.0 (2021-11-19)

  • Add Flask CSRF support.

  • Add Flask CORS options.

0.10.1 (2021-11-10)

  • Fixing Flask support extra requirements.

0.10.0 (2021-11-05)

  • Add backgroud refresh token, jwks and revocation list.

  • Add Flask framework support.

0.8.0 (2021-10-22)

  • Add has ban, email and phone verification status.

0.7.0 (2021-10-17)

  • Add get client information, validate scope, role and audience.

0.5.0 (2021-10-12)

  • Add start local validation and validate parse and claims.

0.3.0 (2021-10-05)

  • Add get role and validate permission.

0.1.0 (2021-09-09)

  • Add client token grant & validate access token.

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

iam_python_sdk-1.5.0.tar.gz (51.4 kB view details)

Uploaded Source

Built Distribution

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

iam_python_sdk-1.5.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file iam_python_sdk-1.5.0.tar.gz.

File metadata

  • Download URL: iam_python_sdk-1.5.0.tar.gz
  • Upload date:
  • Size: 51.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iam_python_sdk-1.5.0.tar.gz
Algorithm Hash digest
SHA256 c168c8268740800aa73397614fc7cb3bb62a9c818894f1c52eb4fc71e2ce663a
MD5 a7da1713154c2aabf50173f536be6b6a
BLAKE2b-256 6d677b117ea662c6832cfdf3d9afe848fca9a1012ce3d703c3ea77ee11576373

See more details on using hashes here.

File details

Details for the file iam_python_sdk-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: iam_python_sdk-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iam_python_sdk-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b585197ea09a48318d0de2711424bb88749a57bfd3adfe9ecca6ff3efc4493e5
MD5 d34fc079175f7878f93850da95255b2a
BLAKE2b-256 e1b43a2a2dcc17a3401e63c31eff8989da38af0be3d9f358caafb064863d4566

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