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"
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 | Reset |
|---|---|---|---|---|
| phenix_edge_auth-1.2.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
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
|