Catalog PyPI
Back to packageRELEASE DETAILS

1.1.6

PyPI

aadinspector

This package help to validate azure ad jwt token.

activeazuredirectoryjwtpythontokenvalidation
Published27 Aug 2022
Direct dependencies3
Transitive dependenciesNot calculated

README

Version 1.1.6 documentation

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

See also the list of contributors who participated in this project.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
cryptography
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
cryptography (==37.0.4)runtime
PyJWT
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
PyJWT (==2.4.0)runtime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
requests (==2.28.1)runtime

Distribution files

2 collected
aadinspector-1.1.6-py3-none-any.whl

bdist_wheel · 4.83 KB · Python py3

Source file
aadinspector-1.1.6.tar.gz

sdist · 4.54 KB · Python source

Source file

Repository

ACCESSIBLE
dinesh-kushwaha/aadinspector

Shared repository data · GitHub

License detected in repository
MIT
License branch / ref
main
Last push
25 Aug 2022
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots20 Oct 2026
10.50
2026-10-20: 0 · observed 2026-10-20T23:18:54.1030307Z
20 Oct20 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2002026-10-20T23:18:54.1030307Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:aa51ffe9c7bddc50d70e00c38093b5d501ebb871b2f34cd84ed222bb117796ca

Other collected versions

View all collected versions →