Skip to main content

Server-only Intflow Auth Admin API SDK.

Project description

Intflow Auth Admin SDK

Server-only Python SDK for trusted backends that call the Intflow Auth Admin API.

This package is for backend automation and integrated management services that already have an operator Admin API token from their own secure runtime configuration. It does not store local operator credentials, does not perform browser login handoff, and must not be used from browser code.

Install

python -m pip install intflow-auth-admin-sdk

Current Status

Use a trusted runtime secret source to supply the operator Admin API token.

from intflow_auth_admin_sdk import create_admin_client

with create_admin_client(token="operator-admin-token") as client:
    actor = client.whoami()
    audit_events = client.search_audit_events(
        client_id="<oauth-client-id>",
        limit=25,
    )

print(actor["user"]["email"])
print(audit_events["next_cursor"])

Long-running trusted backends should create one IntflowAuthAdminClient or AsyncIntflowAuthAdminClient during startup, reuse it for Admin API calls, and call close() or aclose() during shutdown. Caller-injected httpx clients remain caller-owned.

For mocked Admin API examples, see examples/python-sdk-consumer.

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

intflow_auth_admin_sdk-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

intflow_auth_admin_sdk-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file intflow_auth_admin_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: intflow_auth_admin_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for intflow_auth_admin_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6eacc48fa4ec656b9a0c3bfe1deb26b15644d7b6b2bde9944ab62a465321c817
MD5 fc5f99776113d1faf7d304180046d0fb
BLAKE2b-256 5d07b9a8358d651147f357d98b5d67e02af321109516afa0d1c16c2565d9692b

See more details on using hashes here.

Provenance

The following attestation bundles were made for intflow_auth_admin_sdk-0.1.1.tar.gz:

Publisher: publish-python-sdk.yml on yeon3724/intflow-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intflow_auth_admin_sdk-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for intflow_auth_admin_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa382287f43fcad62f3a8fadb2c7c62d528cb7df332fad8b10c73e46f467e48d
MD5 f23c781f607e79b8336e4228548e7799
BLAKE2b-256 342e5d4a8fa833a863fc304548d137a8bc383da8281e68905393a8b7e4e9899e

See more details on using hashes here.

Provenance

The following attestation bundles were made for intflow_auth_admin_sdk-0.1.1-py3-none-any.whl:

Publisher: publish-python-sdk.yml on yeon3724/intflow-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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