Skip to main content

Intflow Auth relying application SDK.

Project description

Intflow Auth SDK

Python SDK for relying applications that integrate with Intflow Auth.

This package is for application backends that need to validate Intflow-issued tokens and enforce application roles. It does not provide operator credential storage, service runtime components, or Admin API automation.

Install

python -m pip install intflow-auth-sdk

Current Status

This package provides PKCE helpers, authorization URL construction, OIDC discovery/JWKS caching, Intflow access-token verification, and application-role checks.

from intflow_auth_sdk import create_token_verifier, require_app_role

verifier = create_token_verifier(audience="your-oauth-client-id")
verified = verifier.verify_access_token(access_token)
require_app_role(verified.payload, "admin")

print(verified.payload["sub"])

For local fake-token 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_sdk-0.1.0.tar.gz (6.1 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_sdk-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file intflow_auth_sdk-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for intflow_auth_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46c50db1b817964c262f74c0f9072e7a4b710ec4d3cddd29d064ca7ead403179
MD5 f5ca1c2a2af3fa06a1473e5e3fc60e2d
BLAKE2b-256 fbddba7bd2b32636e233feab33bf4f136b9a9fddb948370ac6b6bf50c82d92f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for intflow_auth_sdk-0.1.0.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_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intflow_auth_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b067c1d522dab6bd81434133b36bfbd0773c66656931c271a372b863084492
MD5 c255024f4f9a77c982777a726da20915
BLAKE2b-256 7f64a2047f54ea16088475082000d10ef9481c1efb2b30cb3ce9e579436fd189

See more details on using hashes here.

Provenance

The following attestation bundles were made for intflow_auth_sdk-0.1.0-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