推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
julyclyde
V2EX  ›  Python

django-social-auth 或者叫 python-social-auth 怎么用

  •  
  •   julyclyde ·
    julyclyde · Aug 14, 2015 · 3557 views
    This topic created in 3989 days ago, the information mentioned may be changed or developed.
    情景是这样的,需要给Sentry加个验证方式,使其可以集成企业已有的SSO或者账号密码体系
    看了一下配置文件,引用了
    django.contrib.auth
    social_auth
    等几个
    所以想单独拉出来学习一下

    求教个简单的例子,比如我想用其中的Github backend或者google backend,如何能在不建立django整套project的情况下,只用python-social-auth实现一个验证功能?
    再直白点儿,生成一个什么对象,然后传给它用户名和密码,它能够响应一个验证是否正确的结果?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 19:32 · PVG 03:32 · LAX 12:32 · JFK 15:32
    ♥ Do have faith in what you're doing.