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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46c50db1b817964c262f74c0f9072e7a4b710ec4d3cddd29d064ca7ead403179
|
|
| MD5 |
f5ca1c2a2af3fa06a1473e5e3fc60e2d
|
|
| BLAKE2b-256 |
fbddba7bd2b32636e233feab33bf4f136b9a9fddb948370ac6b6bf50c82d92f7
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intflow_auth_sdk-0.1.0.tar.gz -
Subject digest:
46c50db1b817964c262f74c0f9072e7a4b710ec4d3cddd29d064ca7ead403179 - Sigstore transparency entry: 2124138575
- Sigstore integration time:
-
Permalink:
yeon3724/intflow-auth@62651a352e846f18bc9f618674c011fface7fb1b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/yeon3724
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-sdk.yml@62651a352e846f18bc9f618674c011fface7fb1b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file intflow_auth_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: intflow_auth_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3b067c1d522dab6bd81434133b36bfbd0773c66656931c271a372b863084492
|
|
| MD5 |
c255024f4f9a77c982777a726da20915
|
|
| BLAKE2b-256 |
7f64a2047f54ea16088475082000d10ef9481c1efb2b30cb3ce9e579436fd189
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intflow_auth_sdk-0.1.0-py3-none-any.whl -
Subject digest:
e3b067c1d522dab6bd81434133b36bfbd0773c66656931c271a372b863084492 - Sigstore transparency entry: 2124138632
- Sigstore integration time:
-
Permalink:
yeon3724/intflow-auth@62651a352e846f18bc9f618674c011fface7fb1b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/yeon3724
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-sdk.yml@62651a352e846f18bc9f618674c011fface7fb1b -
Trigger Event:
workflow_dispatch
-
Statement type: