This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
Go to file
Tevin Joseph K O 1af16ae7ba Added a Serializer for Twitter oauth
Added a serializer for twitter OAuth to work. If you are not using this it will cause an error ('TwitterOAuthAdapter' object has no attribute 'parse_token'). It happens because method parse_token() is implemented in OAuth2Adapter, but Twitter uses OAuth 1.0, so TwitterOAuthAdapter inherits from OAuthAdapter, which doesn't have parse_token() method. Example usage is given below:

class TwitterLogin(LoginView):
    serializer_class = TwitterLoginSerializer
    adapter_class = TwitterOAuthAdapter
2016-01-13 12:43:12 +05:30
demo closes PR #134 and adds same syntax to demo 2016-01-04 16:29:47 -08:00
docs Merge branch 'master' of https://github.com/Tivix/django-rest-auth 2016-01-07 19:56:33 -02:00
rest_auth Added a Serializer for Twitter oauth 2016-01-13 12:43:12 +05:30
.gitignore Added coverage_html to .gitignore 2015-12-22 09:27:17 +01:00
.travis.yml Fixed reqs path for travis 2015-12-04 09:43:17 +01:00
AUTHORS Created AUTHORS, MANIFEST.in, and setup.py. 2014-04-30 13:55:04 -07:00
flake8 adding static code analysis 2015-04-28 10:04:20 +02:00
LICENSE Initial commit 2014-04-30 12:50:41 -07:00
MANIFEST.in Created AUTHORS, MANIFEST.in, and setup.py. 2014-04-30 13:55:04 -07:00
README.rst version 0.6.0 2015-11-24 08:40:41 +01:00
runtests.py Reorganized test files 2015-12-04 09:32:03 +01:00
setup.py #86: Add missing dependencies to setup.py 2016-01-04 10:29:50 -04:00

Welcome to django-rest-auth
===========================

.. image:: https://travis-ci.org/Tivix/django-rest-auth.png
    :target: https://travis-ci.org/Tivix/django-rest-auth


.. image:: https://coveralls.io/repos/Tivix/django-rest-auth/badge.png
    :target: https://coveralls.io/r/Tivix/django-rest-auth?branch=master


.. image:: https://readthedocs.org/projects/django-rest-auth/badge/?version=latest
    :target: https://readthedocs.org/projects/django-rest-auth/?badge=latest


Django-rest-auth provides a set of REST API endpoints for Authentication and Registration


Documentation
-------------
http://django-rest-auth.readthedocs.org/en/latest/


Source code
-----------
https://github.com/Tivix/django-rest-auth


Stack Overflow
-----------
http://stackoverflow.com/questions/tagged/django-rest-auth