GitXplorerGitXplorer
u

opauth-oauth

public
18 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
0824da621203bb84c411eacc49a5df98bfb0162b

composer.json

uuzyn committed 13 years ago
Unverified
70e2e7fa10067204a2668098664f976f5c7cff9e

Constructor updated to match OpauthStrategy's

uuzyn committed 13 years ago
Unverified
0dff99cf6c3b73ce232e80c4dc5b1d62ecb1e799

Allows multi-configuration for a single strategy

uuzyn committed 13 years ago
Unverified
41b1f186032516f874343172c0242ec55390748e

Error handling

uuzyn committed 13 years ago
Unverified
64e23f55fdbee21221070c81d3902f73ff89d4f0

@package name change

uuzyn committed 13 years ago
Unverified
2635299cc063482703a3036743cde744425811ab

Added PHPdoc header

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.