From 8d05ddf48a8c5974c0a875208bb5c5a8308d1f34 Mon Sep 17 00:00:00 2001 From: Andrew Korzhuev Date: Wed, 2 May 2012 02:29:09 +0400 Subject: [PATCH] Yahoo OAuth docs --- README.rst | 19 +++++++++++++++++++ doc/backends/index.rst | 1 + doc/backends/yahoo.rst | 12 ++++++++++++ doc/configuration.rst | 4 ++++ doc/contributions.rst | 5 +++++ doc/intro.rst | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 doc/backends/yahoo.rst diff --git a/README.rst b/README.rst index 9a7b206..188810d 100644 --- a/README.rst +++ b/README.rst @@ -47,6 +47,7 @@ credentials, some features are: * `Vkontakte OAuth`_ * `MSN Live Connect OAuth2`_ * `Skyrock OAuth`_ + * `Yahoo OAuth`_ - Basic user data population and signaling, to allows custom fields values from providers response @@ -123,6 +124,7 @@ Configuration 'social_auth.backends.contrib.instagram.InstagramBackend', 'social_auth.backends.contrib.vkontakte.VkontakteBackend', 'social_auth.backends.contrib.skyrock.SkyrockBackend', + 'social_auth.backends.contrib.yahoo.YahooOAuthBackend', 'social_auth.backends.OpenIDBackend', 'social_auth.backends.contrib.bitbucket.BitbucketBackend', 'social_auth.backends.contrib.live.LiveBackend', @@ -167,6 +169,8 @@ Configuration LIVE_CLIENT_SECRET = '' SKYROCK_CONSUMER_KEY = '' SKYROCK_CONSUMER_SECRET = '' + YAHOO_CONSUMER_KEY = '' + YAHOO_CONSUMER_SECRET = '' - Setup login URLs:: @@ -980,6 +984,18 @@ To enable Skyrock these two keys are needed. Further documentation at SKYROCK_CONSUMER_KEY SKYROCK_CONSUMER_SECRET +Yahoo OAuth +^^^^^^^^^^^ + +OAuth 1.0 workflow, useful if you are planning to use Yahoo's API. + +- Register a new application at `Yahoo Developer Center`_, set your app domain and configure scopes (they can't be overriden by application). + +- Fill ``Consumer Key`` and ``Consumer Secret`` values in the settings:: + + YAHOO_CONSUMER_KEY = '' + YAHOO_CONSUMER_SECRET = '' + Testing ------- @@ -1168,6 +1184,7 @@ Attributions to whom deserves: - andrusha_ (Andrew Korzhuev) - MSN Live Connect support + - Yahoo OAuth 1.0 support - niQo_ (Nicolas Quiénot) @@ -1269,3 +1286,5 @@ Base work is copyrighted by: .. _Skyrock OAuth: http://www.skyrock.com/developer/ .. _Skyrock App Creation: https://www.skyrock.com/developer/application/ .. _Skyrock API Documentation: http://www.skyrock.com/developer/documentation/ +.. _Yahoo OAuth: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html +.. _Yahoo Developer Center: https://developer.apps.yahoo.com/projects/ diff --git a/doc/backends/index.rst b/doc/backends/index.rst index 8660467..3155f8c 100644 --- a/doc/backends/index.rst +++ b/doc/backends/index.rst @@ -21,3 +21,4 @@ Contents: vkontakte live skyrock + yahoo \ No newline at end of file diff --git a/doc/backends/yahoo.rst b/doc/backends/yahoo.rst new file mode 100644 index 0000000..f551fb0 --- /dev/null +++ b/doc/backends/yahoo.rst @@ -0,0 +1,12 @@ +Yahoo OAuth +=========== +OAuth 1.0 workflow, useful if you are planning to use Yahoo's API. + +- Register a new application at `Yahoo Developer Center`_, set your app domain and configure scopes (they can't be overriden by application). + +- Fill ``Consumer Key`` and ``Consumer Secret`` values in the settings:: + + YAHOO_CONSUMER_KEY = '' + YAHOO_CONSUMER_SECRET = '' + +.. _Yahoo Developer Center: https://developer.apps.yahoo.com/projects/ diff --git a/doc/configuration.rst b/doc/configuration.rst index 4c21412..532b0a0 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -26,6 +26,7 @@ Configuration 'social_auth.backends.contrib.vkontakte.VkontakteBackend', 'social_auth.backends.contrib.live.LiveBackend', 'social_auth.backends.contrib.skyrock.SkyrockBackend', + 'social_auth.backends.contrib.yahoo.YahooOAuthBackend', 'social_auth.backends.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', ) @@ -58,6 +59,9 @@ Configuration LIVE_CLIENT_SECRET = '' SKYROCK_CONSUMER_KEY = '' SKYROCK_CONSUMER_SECRET = '' + YAHOO_CONSUMER_KEY = '' + YAHOO_CONSUMER_SECRET = '' + - Setup login URLs:: diff --git a/doc/contributions.rst b/doc/contributions.rst index 9c37e6d..b017b09 100644 --- a/doc/contributions.rst +++ b/doc/contributions.rst @@ -36,6 +36,10 @@ maraujop_ (Miguel Araujo) bedspax_ * Foursquare support +andrusha_ (Andrew Korzhuev) + * MSN Live Connect support + * Yahoo OAuth 1.0 support + .. _caioariede: https://github.com/caioariede .. _krvss: https://github.com/krvss .. _jezdez: https://github.com/jezdez @@ -45,6 +49,7 @@ bedspax_ .. _micrypt: https://github.com/micrypt .. _djm: https://github.com/djm .. _bernardokyotoku: https://github.com/bernardokyotoku +.. _andrusha: https://github.com/andrusha .. _maraujop: https://github.com/maraujop .. _bedspax: https://github.com/bedspax .. _python-oauth2: https://github.com/simplegeo/python-oauth2 diff --git a/doc/intro.rst b/doc/intro.rst index 576daab..e9dd6e5 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -34,6 +34,7 @@ credentials, some features are: * `Vkontakte OAuth`_ * `MSN Live Connect OAuth2`_ * `Skyrock OAuth`_ + * `Yahoo OAuth`_ - Basic user data population and signaling, to allows custom fields values from providers response @@ -62,3 +63,4 @@ credentials, some features are: .. _Vkontakte OAuth: http://vk.com/developers.php?oid=-1&p=%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F_%D1%81%D0%B0%D0%B9%D1%82%D0%BE%D0%B2 .. _MSN Live Connect OAuth2: http://msdn.microsoft.com/en-us/library/live/hh243647.aspx .. _Skyrock OAuth: http://www.skyrock.com/developer/ +.. _Yahoo OAuth: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html -- 2.39.5