GitXplorerGitXplorer
u

opauth-oauth

public
18 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
0b569debbc1f0aba2325bc5c5a9835c3f7cc5115

Merge pull request #3 from hongster/master

uuzyn committed 11 years ago
Unverified
9f8f9e626ef8ca2c94c56d56283081a5a9a48bb2

Fix for issue #2.

hhongster committed 11 years ago
Unverified
5a11aeda54dbed03259512cfed0a33e1833322cb

formatting

uuzyn committed 13 years ago
Unverified
49172712e8c38a432fff41ec70afdf0e77e210b9

Require Opauth >= 0.2.0

uuzyn committed 13 years ago
Unverified
c3b4d808ccfec8e88fa693a3897ee09442d4be85

Opauth requirement is now upgraded to 0.*

uuzyn committed 13 years ago
Unverified
e6dc73d59fbf238d3a154ff7af3b2f303a8c24b4

OAuth class is now OAuthStrategy

uuzyn committed 13 years ago

README

The README file for this repository.

Opauth-OAuth

A generic Opauth strategy implementing OAuth 1.0A, using 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

cd path_to_opauth/Strategy
git clone git://github.com/uzyn/opauth-oauth.git OAuth

Strategy configuration

Required parameters:

<?php
'OAuth' => 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

License

Opauth-OAuth is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)

tmhOAuth is Apache 2 licensed.