PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/lusitanian/oauth/README.md

https://gitlab.com/yousafsyed/easternglamor
Markdown | 118 lines | 103 code | 15 blank | 0 comment | 0 complexity | 45544a1051ab77f3f3d57bdc303b5d28 MD5 | raw file
  1. PHPoAuthLib
  2. ===========
  3. **NOTE: I'm looking for someone who could help to maintain this package alongside me, just because I don't have a ton of time to devote to it. However, I'm still going to keep trying to pay attention to PRs, etc.**
  4. PHPoAuthLib provides oAuth support in PHP 5.3+ and is very easy to integrate with any project which requires an oAuth client.
  5. [![Build Status](https://travis-ci.org/Lusitanian/PHPoAuthLib.png?branch=master)](https://travis-ci.org/Lusitanian/PHPoAuthLib)
  6. [![Code Coverage](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/badges/coverage.png?s=a0a15bebfda49e79f9ce289b00c6dfebd18fc98e)](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/)
  7. [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/badges/quality-score.png?s=c5976d2fefceb501f0d886c1a5bf087e69b44533)](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/)
  8. [![Latest Stable Version](https://poser.pugx.org/lusitanian/oauth/v/stable.png)](https://packagist.org/packages/lusitanian/oauth)
  9. [![Total Downloads](https://poser.pugx.org/lusitanian/oauth/downloads.png)](https://packagist.org/packages/lusitanian/oauth)
  10. Installation
  11. ------------
  12. This library can be found on [Packagist](https://packagist.org/packages/lusitanian/oauth).
  13. The recommended way to install this is through [composer](http://getcomposer.org).
  14. Edit your `composer.json` and add:
  15. ```json
  16. {
  17. "require": {
  18. "lusitanian/oauth": "~0.3"
  19. }
  20. }
  21. ```
  22. And install dependencies:
  23. ```bash
  24. $ curl -sS https://getcomposer.org/installer | php
  25. $ php composer.phar install
  26. ```
  27. Features
  28. --------
  29. - PSR-0 compliant for easy interoperability
  30. - Fully extensible in every facet.
  31. - You can implement any service with any custom requirements by extending the protocol version's `AbstractService` implementation.
  32. - You can use any HTTP client you desire, just create a class utilizing it which implements `OAuth\Common\Http\ClientInterface` (two implementations are included)
  33. - You can use any storage mechanism for tokens. By default, session, in-memory and Redis.io (requires PHPRedis) storage mechanisms are included. Implement additional mechanisms by implementing `OAuth\Common\Token\TokenStorageInterface`.
  34. Service support
  35. ---------------
  36. The library supports both oAuth 1.x and oAuth 2.0 compliant services. A list of currently implemented services can be found below.
  37. Included service implementations
  38. --------------------------------
  39. - OAuth1
  40. - 500px
  41. - BitBucket
  42. - Etsy
  43. - FitBit
  44. - Flickr
  45. - QuickBooks
  46. - Scoop.it!
  47. - Tumblr
  48. - Twitter
  49. - Xing
  50. - Yahoo
  51. - OAuth2
  52. - Amazon
  53. - BitLy
  54. - Bitrix24
  55. - Box
  56. - Dailymotion
  57. - DeviantArt
  58. - Dropbox
  59. - Eve Online
  60. - Facebook
  61. - Foursquare
  62. - GitHub
  63. - Google
  64. - Harvest
  65. - Heroku
  66. - Hubic
  67. - Instagram
  68. - Jawbone UP
  69. - LinkedIn
  70. - Mailchimp
  71. - Microsoft
  72. - Nest
  73. - Netatmo
  74. - Parrot Flower Power
  75. - PayPal
  76. - Pinterest
  77. - Pocket
  78. - Reddit
  79. - RunKeeper
  80. - SoundCloud
  81. - Spotify
  82. - Strava
  83. - Ustream
  84. - Vimeo
  85. - Vkontakte
  86. - Yammer
  87. - more to come!
  88. Examples
  89. --------
  90. Examples of basic usage are located in the examples/ directory.
  91. Usage
  92. ------
  93. For usage with complete auth flow, please see the examples. More in-depth documentation will come with release 1.0.
  94. Framework Integration
  95. ---------------------
  96. * Lithium: Sébastien Charrier has written [an adapter](https://github.com/scharrier/li3_socialauth) for the library.
  97. * Laravel 4: Dariusz Prząda has written [a service provider](https://github.com/artdarek/oauth-4-laravel) for the library.
  98. Extensions
  99. ----------
  100. * Extract normalized user data from OAuth Services with the library [PHPoAuthUserData](https://github.com/Oryzone/PHPoAuthUserData) by Luciano Mammino
  101. Tests
  102. ------
  103. To run the tests, you must install dependencies with `composer install --dev`