You are here

README.txt in Yandex Services Authorization API 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
------------------------------------------------------------------------------
                       Yandex Services Authorization API
------------------------------------------------------------------------------

This project is the common authorization API for all Yandex [1] services
which support Yandex OAuth [2] method.

Supported services:

    Мой.Круг
    Я.ру
    Яндекс.Вебмастер
    Яндекс.Видео
    Яндекс.Директ
    Яндекс.Диск
    Яндекс.Логин
    Яндекс.Маркет
    Яндекс.Метрика
    Яндекс.Подписки
    Яндекс.Фотки

You should only install this module if another module is instructing you to do so
or if you are an interested developer.

Initially this functionality was carefully extracted from Yandex.Metrics [3] project by Andrew Berezovsky (duozersk) [4].


DEPENDENCIES
------------------------------------------------------------------------------
There are no dependencies! Just enable it and use.


CONFIGURATION
------------------------------------------------------------------------------
1. To authorize your site you should register Yandex application at https://oauth.yandex.ru/client/new.
   Register your Yandex application. Use Yandex step-by-step guide [10] to perform this step.

   Enter Callback URI for your Yandex application.
   Callback URI: http://YOUR_SITE_HOST_NAME/yandex_services_auth/oauth

   Save your application Client ID and Client Secret for later usage.

2. Then go to (Administration >> Configuration >> System >> Yandex Services Authorization) [8]
   and paste application Client ID and Client Secret into the corresponding fields.
   Then press Authorise button to submit form.

   You will be redirected to the special Yandex page.
   You should confirm your application authorization on that page.
   Enter your Yandex login and password if it will be necessary.

   Then your will be redirected back to the settings page on your site and get success message.

   The list of your Yandex applications is located here [9].


API
------------------------------------------------------------------------------
Please read API documentation (API.txt) to learn how to use this module in your own projects.


CREDITS
------------------------------------------------------------------------------
Maintainers: Andrew Berezovsky[4], Konstantin Komelin [5], Kate Marshalkina [6]
Contributor list: [7]


LINKS
------------------------------------------------------------------------------
[1] http://www.yandex.ru/
[2] http://api.yandex.ru/oauth/
[3] http://drupal.org/project/yandex_services_auth
[4] https://drupal.org/user/378397
[5] http://drupal.org/user/1195752
[6] http://drupal.org/user/1399638
[7] https://drupal.org/node/2005928/committers
[8] admin/config/system/yandex_services_auth
[9] https://oauth.yandex.ru/client/my
[10] http://api.yandex.ru/oauth/doc/dg/tasks/register-client.xml

File

README.txt
View source
  1. ------------------------------------------------------------------------------
  2. Yandex Services Authorization API
  3. ------------------------------------------------------------------------------
  4. This project is the common authorization API for all Yandex [1] services
  5. which support Yandex OAuth [2] method.
  6. Supported services:
  7. Мой.Круг
  8. Я.ру
  9. Яндекс.Вебмастер
  10. Яндекс.Видео
  11. Яндекс.Директ
  12. Яндекс.Диск
  13. Яндекс.Логин
  14. Яндекс.Маркет
  15. Яндекс.Метрика
  16. Яндекс.Подписки
  17. Яндекс.Фотки
  18. You should only install this module if another module is instructing you to do so
  19. or if you are an interested developer.
  20. Initially this functionality was carefully extracted from Yandex.Metrics [3] project by Andrew Berezovsky (duozersk) [4].
  21. DEPENDENCIES
  22. ------------------------------------------------------------------------------
  23. There are no dependencies! Just enable it and use.
  24. CONFIGURATION
  25. ------------------------------------------------------------------------------
  26. 1. To authorize your site you should register Yandex application at https://oauth.yandex.ru/client/new.
  27. Register your Yandex application. Use Yandex step-by-step guide [10] to perform this step.
  28. Enter Callback URI for your Yandex application.
  29. Callback URI: http://YOUR_SITE_HOST_NAME/yandex_services_auth/oauth
  30. Save your application Client ID and Client Secret for later usage.
  31. 2. Then go to (Administration >> Configuration >> System >> Yandex Services Authorization) [8]
  32. and paste application Client ID and Client Secret into the corresponding fields.
  33. Then press Authorise button to submit form.
  34. You will be redirected to the special Yandex page.
  35. You should confirm your application authorization on that page.
  36. Enter your Yandex login and password if it will be necessary.
  37. Then your will be redirected back to the settings page on your site and get success message.
  38. The list of your Yandex applications is located here [9].
  39. API
  40. ------------------------------------------------------------------------------
  41. Please read API documentation (API.txt) to learn how to use this module in your own projects.
  42. CREDITS
  43. ------------------------------------------------------------------------------
  44. Maintainers: Andrew Berezovsky[4], Konstantin Komelin [5], Kate Marshalkina [6]
  45. Contributor list: [7]
  46. LINKS
  47. ------------------------------------------------------------------------------
  48. [1] http://www.yandex.ru/
  49. [2] http://api.yandex.ru/oauth/
  50. [3] http://drupal.org/project/yandex_services_auth
  51. [4] https://drupal.org/user/378397
  52. [5] http://drupal.org/user/1195752
  53. [6] http://drupal.org/user/1399638
  54. [7] https://drupal.org/node/2005928/committers
  55. [8] admin/config/system/yandex_services_auth
  56. [9] https://oauth.yandex.ru/client/my
  57. [10] http://api.yandex.ru/oauth/doc/dg/tasks/register-client.xml