aadinspector
This package will help to validate azure b2c jwt token.
📝 Table of Contents
🧐 About
This package will help to validate azure b2c jwt token.
🏁 Getting Started
-
Dependancy & prerequisite
- Python >=3.6 should be installed.
- "cryptography==37.0.4"
- "PyJWT==2.4.0"
- "requests==2.28.1"
-
To Start experimenting this package you need to install it.
pip install aadinspector
# public key code should run only once on app start.
pub_handler= PublicKeyHandler("tenant_id")
pub_handler.set_name_of_policy("name_of_policy")
token="string"
public_key= pub_handler.get_public_key(token)
print(public_key)
# token validation code should run for each request.
jwt_validator = JWTValidator(public_key)
is_valid, token = jwt_validator.validate(token)
print(is_valid)
print(token)
✍️ Authors
- Dinesh Kushwaha - Idea & Initial work
See also the list of contributors who participated in this project.
Metadata
Release files for aadinspector 1.1.6
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 | |
|---|---|---|---|---|
| aadinspector-1.1.6.tar.gz | 4.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aadinspector-1.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / aadinspector-1.1.6.tar.gz
| Download URL | aadinspector-1.1.6.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
982587e6dc6a4084811fd3677e64703c79362364d93664cc358bc52c5f334595
|
|
BLAKE2b-256 checksum How to use checksums |
f78c06ebbf17a0c9dfa4a314289d4d38984cb172de0ef5fd8156ef9f932e46a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.0
|
Release files / aadinspector-1.1.6-py3-none-any.whl
| Download URL | aadinspector-1.1.6-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e726f3395e2944f7d5826884d7e9c0c5d199727213bf3d44d1a95bcc1e50807f
|
|
BLAKE2b-256 checksum How to use checksums |
abae1b70a4294a35ae55516bd1111a88c8a8c28ee41aad37d8cd4a12ee9de144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.0
|
Security for aadinspector 1.1.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.