djangOauth:基于ldap与jwt的统一认证系统(sso)-源码

上传者: 42136365 | 上传时间: 2021-07-08 15:15:17 | 文件大小: 26KB | 文件类型: ZIP
djangOauth 项目介绍 基于django-rest-framework-jwt 基于django-auth-ldap 实现用户名的统一认证 您可以直接使用该项目,或者基于该项目二次开发。 准备做(按优先级排序) 企业微信扫码登录(本地已经正常使用,近期将提交代码) 添加ldap组同步 开发环境 Djnago> = 2 Python> = 3 MySQL的= 5.7.16 工作方式 第三方应用发起带有“用户名,密码”的帖子请求(/ api / login /),djangOauth验证用户名,密码后,返回jwt令牌 第三方应用解析jwt token验证有效性,并保存至cookie,每页刷新页面验证一次。 如若令牌过期,则发起(/ api / token-refresh /)令牌刷新接口,获取新的令牌。 当启用LDAP验证方式时,将会自动在数据库创建对应用户 配置说明 JWT_EXPI

文件下载

资源详情

[{"title":"( 32 个子文件 26KB ) djangOauth:基于ldap与jwt的统一认证系统(sso)-源码","children":[{"title":"djangOauth-master","children":[{"title":".gitignore <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"Oauth","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"views.py <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"models.py <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"master.cpython-36.pyc <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"admin.cpython-36.pyc <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"apps.cpython-36.pyc <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"models.cpython-36.pyc <span style='color:#111;'> 768B </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"views.cpython-36.pyc <span style='color:#111;'> 735B </span>","children":null,"spread":false}],"spread":true},{"title":"apps.py <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"admin.py <span style='color:#111;'> 698B </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"0002_auto_20180929_1102.cpython-36.pyc <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"0001_initial.cpython-36.pyc <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"0003_auto_20180929_1103.cpython-36.pyc <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"0004_auto_20180929_1127.cpython-36.pyc <span style='color:#111;'> 655B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"master.py <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"tests.py <span style='color:#111;'> 60B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"manage.py <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"djangOauth","children":[{"title":"urls.py <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"wsgi.cpython-36.pyc <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"settings.cpython-36.pyc <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"urls.cpython-36.pyc <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"wsgi.py <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"settings.py <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明