实例介绍
Authlib 是一个实现OAuth 1、OAuth 2身份验证的客户端和服务端
【实例截图】
【核心代码】
16359648042961099129.zip
└── lepture-authlib-5403f90
├── authlib
│ ├── client
│ │ ├── aiohttp.py
│ │ ├── assertion_session.py
│ │ ├── client.py
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── oauth1_session.py
│ │ └── oauth2_session.py
│ ├── common
│ │ ├── encoding.py
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── security.py
│ │ └── urls.py
│ ├── consts.py
│ ├── deprecate.py
│ ├── django
│ │ ├── client
│ │ │ ├── __init__.py
│ │ │ └── oauth.py
│ │ ├── helpers.py
│ │ ├── __init__.py
│ │ └── oauth1
│ │ ├── authorization_server.py
│ │ ├── __init__.py
│ │ ├── nonce.py
│ │ └── resource_protector.py
│ ├── flask
│ │ ├── client
│ │ │ ├── __init__.py
│ │ │ └── oauth.py
│ │ ├── error.py
│ │ ├── helpers.py
│ │ ├── __init__.py
│ │ ├── oauth1
│ │ │ ├── authorization_server.py
│ │ │ ├── cache.py
│ │ │ ├── __init__.py
│ │ │ ├── resource_protector.py
│ │ │ └── sqla.py
│ │ └── oauth2
│ │ ├── authorization_server.py
│ │ ├── cache.py
│ │ ├── __init__.py
│ │ ├── resource_protector.py
│ │ ├── signals.py
│ │ └── sqla.py
│ ├── __init__.py
│ ├── jose
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── jwk.py
│ │ ├── rfc7515
│ │ │ ├── __init__.py
│ │ │ ├── jws.py
│ │ │ └── models.py
│ │ ├── rfc7516
│ │ │ ├── __init__.py
│ │ │ ├── jwe.py
│ │ │ └── models.py
│ │ ├── rfc7517
│ │ │ ├── _backends
│ │ │ │ ├── _cryptography.py
│ │ │ │ └── __init__.py
│ │ │ ├── __init__.py
│ │ │ └── jwk.py
│ │ ├── rfc7518
│ │ │ ├── _backends
│ │ │ │ ├── __init__.py
│ │ │ │ ├── _jwe_alg_cryptography.py
│ │ │ │ ├── _jwe_enc_cryptography.py
│ │ │ │ ├── _jwk_cryptography.py
│ │ │ │ ├── _jws_cryptography.py
│ │ │ │ └── _key_cryptography.py
│ │ │ ├── __init__.py
│ │ │ ├── jwe_algorithms.py
│ │ │ ├── jwk_algorithms.py
│ │ │ ├── jws_algorithms.py
│ │ │ └── util.py
│ │ ├── rfc7519
│ │ │ ├── claims.py
│ │ │ ├── __init__.py
│ │ │ └── jwt.py
│ │ └── util.py
│ ├── oauth1
│ │ ├── client.py
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ └── rfc5849
│ │ ├── authorization_server.py
│ │ ├── base_server.py
│ │ ├── client_auth.py
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── models.py
│ │ ├── parameters.py
│ │ ├── resource_protector.py
│ │ ├── rsa.py
│ │ ├── signature.py
│ │ ├── util.py
│ │ └── wrapper.py
│ ├── oauth2
│ │ ├── base.py
│ │ ├── client_auth.py
│ │ ├── client.py
│ │ ├── __init__.py
│ │ ├── rfc6749
│ │ │ ├── authenticate_client.py
│ │ │ ├── authorization_server.py
│ │ │ ├── errors.py
│ │ │ ├── grants
│ │ │ │ ├── authorization_code.py
│ │ │ │ ├── base.py
│ │ │ │ ├── client_credentials.py
│ │ │ │ ├── implicit.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── refresh_token.py
│ │ │ │ └── resource_owner_password_credentials.py
│ │ │ ├── __init__.py
│ │ │ ├── models.py
│ │ │ ├── parameters.py
│ │ │ ├── resource_protector.py
│ │ │ ├── token_endpoint.py
│ │ │ ├── util.py
│ │ │ └── wrappers.py
│ │ ├── rfc6750
│ │ │ ├── errors.py
│ │ │ ├── __init__.py
│ │ │ ├── parameters.py
│ │ │ ├── validator.py
│ │ │ └── wrappers.py
│ │ ├── rfc7009
│ │ │ ├── __init__.py
│ │ │ ├── parameters.py
│ │ │ └── revocation.py
│ │ ├── rfc7523
│ │ │ ├── assertion.py
│ │ │ ├── auth.py
│ │ │ ├── client.py
│ │ │ ├── grant.py
│ │ │ └── __init__.py
│ │ ├── rfc7636
│ │ │ ├── challenge.py
│ │ │ ├── grant.py
│ │ │ └── __init__.py
│ │ ├── rfc7662
│ │ │ ├── __init__.py
│ │ │ └── introspection.py
│ │ └── rfc8414
│ │ ├── __init__.py
│ │ ├── models.py
│ │ └── well_known.py
│ ├── oidc
│ │ ├── core
│ │ │ ├── claims.py
│ │ │ ├── errors.py
│ │ │ ├── grants
│ │ │ │ ├── code.py
│ │ │ │ ├── hybrid.py
│ │ │ │ ├── implicit.py
│ │ │ │ ├── __init__.py
│ │ │ │ └── util.py
│ │ │ ├── __init__.py
│ │ │ ├── models.py
│ │ │ └── util.py
│ │ └── __init__.py
│ └── specs
│ ├── __init__.py
│ ├── oidc
│ │ ├── claims.py
│ │ ├── errors.py
│ │ ├── grants.py
│ │ ├── __init__.py
│ │ ├── models.py
│ │ └── util.py
│ ├── rfc5849
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ └── signature.py
│ ├── rfc6749
│ │ ├── authenticate_client.py
│ │ ├── authorization_server.py
│ │ ├── errors.py
│ │ ├── grants.py
│ │ ├── __init__.py
│ │ ├── models.py
│ │ ├── parameters.py
│ │ ├── resource_protector.py
│ │ ├── token_endpoint.py
│ │ └── wrappers.py
│ ├── rfc6750
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── parameters.py
│ │ ├── validator.py
│ │ └── wrappers.py
│ ├── rfc7009
│ │ ├── __init__.py
│ │ ├── parameters.py
│ │ └── revocation.py
│ ├── rfc7515
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── jws.py
│ │ └── models.py
│ ├── rfc7516
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ ├── jwe.py
│ │ └── models.py
│ ├── rfc7517
│ │ ├── __init__.py
│ │ └── jwk.py
│ ├── rfc7518
│ │ ├── __init__.py
│ │ ├── jwe_algorithms.py
│ │ ├── jwk_algorithms.py
│ │ └── jws_algorithms.py
│ ├── rfc7519
│ │ ├── claims.py
│ │ ├── errors.py
│ │ ├── __init__.py
│ │ └── jwt.py
│ ├── rfc7523
│ │ ├── auth.py
│ │ ├── client.py
│ │ ├── grant.py
│ │ └── __init__.py
│ ├── rfc7636
│ │ ├── challenge.py
│ │ ├── grant.py
│ │ └── __init__.py
│ ├── rfc7662
│ │ ├── __init__.py
│ │ └── introspection.py
│ └── rfc8414
│ ├── __init__.py
│ ├── models.py
│ └── well_known.py
├── BACKERS.md
├── COMMERCIAL-LICENSE
├── docs
│ ├── basic
│ │ ├── index.rst
│ │ ├── install.rst
│ │ ├── intro.rst
│ │ ├── oauth1.rst
│ │ └── oauth2.rst
│ ├── changelog.rst
│ ├── client
│ │ ├── api.rst
│ │ ├── django.rst
│ │ ├── flask.rst
│ │ ├── index.rst
│ │ ├── mixed.rst
│ │ ├── oauth1.rst
│ │ └── oauth2.rst
│ ├── community
│ │ ├── authors.rst
│ │ ├── awesome.rst
│ │ ├── contribute.rst
│ │ ├── index.rst
│ │ ├── licenses.rst
│ │ ├── security.rst
│ │ ├── support.rst
│ │ └── sustainable.rst
│ ├── conf.py
│ ├── django
│ │ └── 1
│ │ ├── api.rst
│ │ ├── authorization-server.rst
│ │ ├── index.rst
│ │ └── resource-server.rst
│ ├── flask
│ │ ├── 1
│ │ │ ├── api.rst
│ │ │ ├── authorization-server.rst
│ │ │ ├── customize.rst
│ │ │ ├── index.rst
│ │ │ └── resource-server.rst
│ │ └── 2
│ │ ├── api.rst
│ │ ├── authorization-server.rst
│ │ ├── endpoints.rst
│ │ ├── grants.rst
│ │ ├── index.rst
│ │ ├── openid-connect.rst
│ │ └── resource-server.rst
│ ├── index.rst
│ ├── jose
│ │ ├── index.rst
│ │ ├── jwe.rst
│ │ ├── jwk.rst
│ │ ├── jws.rst
│ │ └── jwt.rst
│ ├── Makefile
│ ├── specs
│ │ ├── index.rst
│ │ ├── oidc.rst
│ │ ├── rfc5849.rst
│ │ ├── rfc6749.rst
│ │ ├── rfc6750.rst
│ │ ├── rfc7009.rst
│ │ ├── rfc7515.rst
│ │ ├── rfc7516.rst
│ │ ├── rfc7517.rst
│ │ ├── rfc7518.rst
│ │ ├── rfc7519.rst
│ │ ├── rfc7523.rst
│ │ ├── rfc7636.rst
│ │ └── rfc7662.rst
│ ├── _static
│ │ ├── authlib.png
│ │ ├── authlib.svg
│ │ └── favicon.ico
│ └── _templates
│ ├── links.html
│ └── sponsors.html
├── LICENSE
├── Makefile
├── MANIFEST.in
├── README.md
├── README.rst
├── requirements-docs.txt
├── requirements-test.txt
├── requirements.txt
├── setup.cfg
├── setup.py
├── tests
│ ├── client_base.py
│ ├── core
│ │ ├── test_client
│ │ │ ├── __init__.py
│ │ │ ├── test_assertion_session.py
│ │ │ ├── test_oauth1_session.py
│ │ │ ├── test_oauth2_session.py
│ │ │ └── test_oauth_client.py
│ │ ├── test_jose
│ │ │ ├── __init__.py
│ │ │ ├── test_jwe.py
│ │ │ ├── test_jwk.py
│ │ │ ├── test_jws.py
│ │ │ └── test_jwt.py
│ │ ├── test_oauth2
│ │ │ ├── __init__.py
│ │ │ └── test_rfc8414.py
│ │ └── test_oidc
│ │ ├── __init__.py
│ │ └── test_core.py
│ ├── django
│ │ ├── base.py
│ │ ├── __init__.py
│ │ ├── settings.py
│ │ ├── test_django_oauth_client.py
│ │ └── test_oauth1
│ │ ├── __init__.py
│ │ ├── migrations
│ │ │ ├── 0001_initial.py
│ │ │ └── __init__.py
│ │ ├── models.py
│ │ ├── oauth1_server.py
│ │ ├── test_authorize.py
│ │ ├── test_resource_protector.py
│ │ └── test_token_credentials.py
│ ├── files
│ │ ├── ec_private.json
│ │ ├── ec_public.json
│ │ ├── jwk_private.json
│ │ ├── jwk_public.json
│ │ ├── jwks_private.json
│ │ ├── jwks_public.json
│ │ ├── rsa_private.pem
│ │ └── rsa_public.pem
│ ├── flask
│ │ ├── cache.py
│ │ ├── __init__.py
│ │ ├── test_oauth1
│ │ │ ├── __init__.py
│ │ │ ├── oauth1_server.py
│ │ │ ├── test_authorize.py
│ │ │ ├── test_resource_protector.py
│ │ │ ├── test_temporary_credentials.py
│ │ │ └── test_token_credentials.py
│ │ ├── test_oauth2
│ │ │ ├── __init__.py
│ │ │ ├── models.py
│ │ │ ├── oauth2_server.py
│ │ │ ├── test_authorization_code_grant.py
│ │ │ ├── test_client_credentials_grant.py
│ │ │ ├── test_code_challenge.py
│ │ │ ├── test_implicit_grant.py
│ │ │ ├── test_jwt_bearer_client_auth.py
│ │ │ ├── test_jwt_bearer_grant.py
│ │ │ ├── test_oauth2_server.py
│ │ │ ├── test_openid_code_grant.py
│ │ │ ├── test_openid_hybrid_grant.py
│ │ │ ├── test_openid_implict_grant.py
│ │ │ ├── test_password_grant.py
│ │ │ ├── test_refresh_token.py
│ │ │ ├── test_token_introspection.py
│ │ │ └── test_token_revocation.py
│ │ └── test_oauth_client.py
│ ├── __init__.py
│ └── util.py
└── tox.ini
74 directories, 333 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论