Skip to main content

aiSSEMBLE™ Foundation Policy Decision Point Python Client

PyPI PyPI - Python Version PyPI - Wheel

This module provides a client for authorizing a jwt, action and resource

The following tasks will help you add authentication to your module.

  1. Example usage
    • Add the following to your code
        # The url points to your policy decision point base
        # For example http://localhost:8080/api/pdp
        pdp_client = PDPClient(auth_config.pdp_host_url()) 
        decision = pdp_client.authorize(your_jwt_string, None, 'some-action')
        if 'PERMIT' == decision:
            print('User is authorized to access XYZ')
        else:
            raise AissembleSecurityException('User is not authorized')
    

Metadata

Release files for aissemble-foundation-pdp-client-python 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aissemble-foundation-pdp-client-python 2.0.0
File Size Uploaded Provenance Actions
aissemble_foundation_pdp_client_python-2.0.0.tar.gz 5.8 kB Without provenance Details for aissemble_foundation_pdp_client_python-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aissemble-foundation-pdp-client-python 2.0.0
File Interpreter ABI Platform Actions
aissemble_foundation_pdp_client_python-2.0.0-py3-none-any.whl Python 3 none any Details for aissemble_foundation_pdp_client_python-2.0.0-py3-none-any.whl

Total release size: 13.3 kB

Release files / aissemble_foundation_pdp_client_python-2.0.0.tar.gz

Download URL aissemble_foundation_pdp_client_python-2.0.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ecde9bb27f125b6fa5ea17cb9c40e861ed007e3be63dd854acde38ef3e10c0d1
BLAKE2b-256 checksum
How to use checksums
bb10f27e6f8e843a80380ac44f753bc8a61e0fed76e4a91afceba4367dc66df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.11.4 Linux/6.12.37-61.105.amzn2023.aarch64

Release files / aissemble_foundation_pdp_client_python-2.0.0-py3-none-any.whl

Download URL aissemble_foundation_pdp_client_python-2.0.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c00288c86b1decca1cfe973642967d29efcf16a47c76c4bdf1e041293b98fa2f
BLAKE2b-256 checksum
How to use checksums
91283b2edad8960ae41ef3bdf63c15c49486690bc6ee289d7ed13ff45a2c53da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.11.4 Linux/6.12.37-61.105.amzn2023.aarch64

Security for aissemble-foundation-pdp-client-python 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page