Phenix EdgeAuth Digest Tokens for Python
Easily generate secure digest tokens to use with the Phenix platform without requiring any networking activity.
Installation
To install Phenix Edge Authorization Digest Token with pip:
$ pip install phenix-edge-auth
Testing
$ pytest -vv
Example
from edgeauth.token_builder import TokenBuilder
# Create a token to access a channel
token = TokenBuilder()
.with_application_id('my-application-id') \
.with_secret('my-secret') \
.expires_in_seconds(3600) \
.for_channel('us-northeast#my-application-id#my-channel.1345') \
.build()
Command Line Examples
Display the help information:
$ edgeauth --help
Create a token for channel access:
$ edgeauth --application_id "my-application-id" --secret "my-secret" --expires_in_seconds 3600 --channel "us-northeast#my-application-id#my-channel.1345"
Metadata
Release files for phenix-edge-auth 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phenix_edge_auth-1.2.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for phenix_edge_auth-1.2.6-py2.py3-none-any.whl |
Release files / phenix_edge_auth-1.2.6-py2.py3-none-any.whl
| Download URL | phenix_edge_auth-1.2.6-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
beb76b3c3a567ba9646d8d95a789c3e06279575abe92c8e0424ee1d22e063048
|
|
BLAKE2b-256 checksum How to use checksums |
8f37f9e15985c21636efc18b7899072b2db3d7c57d75467ec8a6c1b9fa6a9116
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Security for phenix-edge-auth 1.2.6
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.