This release is a pre-release and may not be stable for production use.
Python security client
This module provides a client for authorizing a jwt, action and resource
The following tasks will help you add authentication to your module.
- 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 AiopsSecurityException('User is not authorized')
Metadata
Release files for aissemble-foundation-pdp-client-python 1.7.0.dev1715242797
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aissemble_foundation_pdp_client_python-1.7.0.dev1715242797.tar.gz | 4.6 kB | Without provenance | Details for aissemble_foundation_pdp_client_python-1.7.0.dev1715242797.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aissemble_foundation_pdp_client_python-1.7.0.dev1715242797-py3-none-any.whl | Python 3 | none | any | Details for aissemble_foundation_pdp_client_python-1.7.0.dev1715242797-py3-none-any.whl |
Total release size: 10.3 kB
Release files / aissemble_foundation_pdp_client_python-1.7.0.dev1715242797.tar.gz
| Download URL | aissemble_foundation_pdp_client_python-1.7.0.dev1715242797.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af7a692f8ff5b4367c1f380a465b35d285304df727842ce6fd288c41c850c282
|
|
BLAKE2b-256 checksum How to use checksums |
8594a6d47881732b077f9401e5d3c9c0d51329a1fddd38edf6988574925777f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-362.24.1.el9_3.x86_64
|
Release files / aissemble_foundation_pdp_client_python-1.7.0.dev1715242797-py3-none-any.whl
| Download URL | aissemble_foundation_pdp_client_python-1.7.0.dev1715242797-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e23fc12cc2cb9f6e25a5e35fe415934a4f6b7ebebc6aca55e5d9bba900b1dac5
|
|
BLAKE2b-256 checksum How to use checksums |
cf4e0be39a088ac866686f0d853f0667db7b1612c7f43772264fbf7e5ae57ba7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-362.24.1.el9_3.x86_64
|
Security for aissemble-foundation-pdp-client-python 1.7.0.dev1715242797
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.