opauth/foursquare

Opauth的Foursquare认证策略

dev-master 2014-03-11 01:43 UTC

This package is not auto-updated.

Last update: 2024-09-23 11:34:46 UTC


README

针对Foursquare认证的Opauth策略。

基于https://developer.foursquare.com/overview/auth实现

入门

  1. 安装Opauth-Foursquare

    cd path_to_opauth/Strategy
    git clone git://github.com/pocket7878/opauth-foursquare.git Foursquare
  2. https://foursquare.com/oauth/register创建Foursquare应用程序

  3. 至少配置Client IDClient Secret来配置Opauth-Foursquare策略。

  4. 将用户引导到http://path_to_opauth/foursquare进行认证

策略配置

必需参数

<?php
'Foursquare' => array(
	'client_id' => 'YOUR CLIENT ID',
	'client_secret' => 'YOUR CLIENT SECRET'
)

参考连接 - foursquare

许可证

Opauth-Facebook采用MIT许可证
版权所有 © 2012 Masato Sogame (Pocket7878) (http://poketo7878.dip.jp)