opauth / yahoojp
Yahoo!JAPAN(YConnect) strategy for Opauth
Installs: 9 374
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 4
Forks: 4
Open Issues: 3
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 06:54:59 UTC
README
Opauth strategy for Yahoo! JAPAN(YConnect).
Implemented based on http://developer.yahoo.co.jp/yconnect/ using OAuth 2.0.
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Yahoojp:
cd path_to_opauth/Strategy git clone git://github.com/ritou/opauth-yahoojp.git Yahoojp
-
Create a server-side application at https://e.developer.yahoo.co.jp/dashboard/
- Select 'develop new application' button and create new service
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/yahoojp/oauth2callback
-
Configure Opauth-Yahoojp strategy.
-
Direct user to
http://path_to_opauth/yahoojp
to authenticate
Strategy configuration
Required parameters:
<?php 'Yahoojp' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
Optional parameters:
scope
,state
References
License
Opauth-Yahoojp is MIT Licensed
Copyright © 2012 Ryo Ito (https://github.com/ritou)