opauth / foursquare
Opauth的Foursquare认证策略
dev-master
2014-03-11 01:43 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-09-23 11:34:46 UTC
README
针对Foursquare认证的Opauth策略。
基于https://developer.foursquare.com/overview/auth实现
入门
-
安装Opauth-Foursquare
cd path_to_opauth/Strategy git clone git://github.com/pocket7878/opauth-foursquare.git Foursquare
-
在https://foursquare.com/oauth/register创建Foursquare应用程序
-
至少配置
Client ID
和Client Secret
来配置Opauth-Foursquare策略。 -
将用户引导到
http://path_to_opauth/foursquare
进行认证
策略配置
必需参数
<?php 'Foursquare' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
许可证
Opauth-Facebook采用MIT许可证
版权所有 © 2012 Masato Sogame (Pocket7878) (http://poketo7878.dip.jp)