Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzyn/opauth-oauth
Generic Opauth strategy implementing OAuth
https://github.com/uzyn/opauth-oauth
Last synced: 11 days ago
JSON representation
Generic Opauth strategy implementing OAuth
- Host: GitHub
- URL: https://github.com/uzyn/opauth-oauth
- Owner: uzyn
- Created: 2012-05-11T17:37:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-20T09:46:32.000Z (about 11 years ago)
- Last Synced: 2024-04-29T23:55:29.440Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 92.8 KB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Opauth-OAuth
=============
A generic [Opauth][1] strategy implementing OAuth 1.0A, using [tmhOAuth](https://github.com/themattharris/tmhOAuth).This is a generic OAuth strategy intended as a helper for developers of Opauth strategies, especially those that are based on OAuth.
Getting started
---------------
```bash
cd path_to_opauth/Strategy
git clone git://github.com/uzyn/opauth-oauth.git OAuth
```Strategy configuration
----------------------Required parameters:
```php
array(
'consumer_key' => 'YOUR CONSUMER KEY',
'consumer_secret' => 'YOUR CONSUMER SECRET','request_token_url' => 'http://OAUTH_SERVER/oauth/request_token',
'access_token_url' => 'http://OAUTH_SERVER/oauth/access_token'
)
```See OAuth.php for optional parameters.
Dependencies
------------
tmhOAuth requires hash_hmac and cURL.
hash_hmac is available on PHP 5 >= 5.1.2.Reference
---------
- [OAuth Core 1.0](http://oauth.net/core/1.0/)
- [Twitter Authentication & Authorization](https://dev.twitter.com/docs/auth)License
---------
Opauth-OAuth is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)tmhOAuth is [Apache 2 licensed](https://github.com/themattharris/tmhOAuth/blob/master/LICENSE).
[1]: https://github.com/uzyn/opauth