Python中的JSON Web令牌实现-Python开发

时间:2021-05-25 12:03:02
【文件属性】:
文件名称:Python中的JSON Web令牌实现-Python开发
文件大小:78KB
文件格式:ZIP
更新时间:2021-05-25 12:03:02
Python Authentication PyJWT RFC 7519的Python实现。原始实现由@progrium编写。 安装$ pip install PyJWT用法>>>导入jwt >>>编码= jwt.encode({'some':PyJWT RFC 7519的Python实现。原始实现由@progrium编写。Sponsor如果您想快速添加安全令牌基于Python的身份验证,请随时在auth0.com/overview上检查Auth0的Python SDK和免费计划。使用pip安装安装:$ pip install PyJWT用法>>>导入jwt >>>编码= jwt.encode({' some':'payload'},'secret',algorithm ='HS256')'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5N
【文件预览】:
pyjwt-master
----setup.py(62B)
----.gitignore(775B)
----codecov.yml(204B)
----pyproject.toml(340B)
----MANIFEST.in(309B)
----.pre-commit-config.yaml(806B)
----CODE_OF_CONDUCT.md(3KB)
----jwt()
--------__init__.py(2KB)
--------api_jws.py(8KB)
--------algorithms.py(21KB)
--------utils.py(2KB)
--------jwks_client.py(2KB)
--------py.typed(0B)
--------api_jwt.py(7KB)
--------api_jwk.py(3KB)
--------help.py(2KB)
--------exceptions.py(965B)
----LICENSE(1KB)
----setup.cfg(1KB)
----.github()
--------ISSUE_TEMPLATE.md(340B)
--------ISSUE_TEMPLATE()
--------FUNDING.yml(66B)
--------workflows()
----README.rst(2KB)
----tests()
--------test_algorithms.py(30KB)
--------test_api_jwk.py(8KB)
--------__init__.py(0B)
--------test_jwks_client.py(7KB)
--------test_jwt.py(625B)
--------utils.py(700B)
--------keys()
--------test_utils.py(897B)
--------test_api_jwt.py(20KB)
--------test_exceptions.py(213B)
--------test_api_jws.py(22KB)
----AUTHORS.rst(322B)
----CHANGELOG.rst(22KB)
----docs()
--------Makefile(7KB)
--------api.rst(7KB)
--------index.rst(2KB)
--------conf.py(4KB)
--------_static()
--------algorithms.rst(3KB)
--------installation.rst(758B)
--------faq.rst(621B)
--------changelog.rst(30B)
--------usage.rst(11KB)
--------requirements-docs.txt(24B)
----tox.ini(1KB)

网友评论