opauth/oauth
Composer 安装命令:
composer require opauth/oauth
包简介
OAuth strategy for Opauth
README 文档
README
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.
统计信息
- 总下载量: 406
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-05-23