Skip to content

Commit

Permalink
Fixes to doc and remove unused module
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Jul 8, 2012
1 parent 3e83890 commit 9ed16f2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
29 changes: 29 additions & 0 deletions doc/backends/mixcloud.rst
@@ -0,0 +1,29 @@
Mixcloud OAuth2
===============

The `Mixcloud API`_ offers support for authorization.
To enable OAuth2 support:

- Register a new application at `Mixcloud Developers`_

- Add Mixcloud backend to ``AUTHENTICATION_BACKENDS`` in settings::

AUTHENTICATION_BACKENDS = (
...
'social_auth.backends.contrib.mixcloud.MixcloudBackend',
)

- Fill ``Client Id`` and ``Client Secret`` values in the settings::

MIXCLOUD_CLIENT_ID = ''
MIXCLOUD_CLIENT_SECRET = ''

- Similar to the other OAuth backends you can define::

MIXCLOUD_EXTRA_DATA = [('username', 'username'), ('name', 'name'), ('pictures', 'pictures'), ('url', 'url')]

as a list of tuples ``(response name, alias)`` to store user profile data on the UserSocialAuth model.


.. _Mixcloud API: http://www.mixcloud.com/developers/documentation
.. _Mixcloud Developers: http://www.mixcloud.com/developers
23 changes: 23 additions & 0 deletions doc/contributions.rst
Expand Up @@ -8,6 +8,10 @@ caioariede_ (Caio Ariede):

krvss_ (Stas Kravets):
* Initial setup.py configuration
* LiveJournal support
* Mail.ru, Odnoklassniki support
* Yandex OpenID support
* VKontakte OpenAPI support

jezdez_ (Jannis Leidel):
* Improvements and documentation update
Expand Down Expand Up @@ -36,6 +40,17 @@ maraujop_ (Miguel Araujo)
bedspax_
* Foursquare support

revolunet_ (Julien Bouquillon)
* GitHub support

danielgtaylor_ (Daniel G. Taylor)
* Dropbox support
* Flickr support
* Provider name context processor

r4vi_ (Ravi Kotecha)
* Instagram support

andrusha_ (Andrew Korzhuev)
* MSN Live Connect support
* Yahoo OAuth 1.0 support
Expand All @@ -46,6 +61,10 @@ niQo_ (Nicolas Quiénot)
hassek_ (Tomas Henriquez)
* Evernote support

fmoga_ (Florian Moga)
* Mixcloud support


.. _caioariede: https://github.com/caioariede
.. _krvss: https://github.com/krvss
.. _jezdez: https://github.com/jezdez
Expand All @@ -61,3 +80,7 @@ hassek_ (Tomas Henriquez)
.. _python-oauth2: https://github.com/simplegeo/python-oauth2
.. _niQo: https://github.com/niQo
.. _hassek: https://github.com/hassek
.. _fmoga: https://github.com/fmoga
.. _revolunet: https://github.com/revolunet
.. _r4vi: https://github.com/r4vi
.. _danielgtaylor: https://github.com/danielgtaylor
2 changes: 1 addition & 1 deletion social_auth/models.py
@@ -1,6 +1,6 @@
"""Social auth models"""
import time
from datetime import datetime, date, timedelta
from datetime import datetime, timedelta
from django.db import models

from social_auth.fields import JSONField
Expand Down

0 comments on commit 9ed16f2

Please sign in to comment.