opauth/meetup

Opauth 的 Meetup 认证策略

0.1.1 2014-02-02 16:13 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:55:37 UTC


README

Meetup 认证使用的 Opauth 策略。

基于 http://www.meetup.com/meetup_api/auth/#oauth2 使用 OAuth2 实现。

Opauth 是一个 PHP 的多认证提供者框架。

演示: http://opauth.org/#meetup

入门指南

  1. 安装 Opauth-Meetup

    cd path_to_opauth/Strategy
    git clone git://github.com/damusnet/opauth-meetup.git Meetup
  2. https://secure.meetup.com/meetup_api/oauth_consumers/create 上注册 Meetup 应用程序

  3. 使用 keysecret 配置 Opauth-Meetup 策略。

  4. 将用户直接导向 http://path_to_opauth/meetup 进行认证

策略配置

必需参数

<?php
'Meetup' => array(
	'key' => 'YOUR CLIENT KEY',
	'secret' => 'YOUR CLIENT SECRET'
)

许可证

Opauth-Meetup 使用 MIT 许可证
版权所有 © 2014 Damien Varron (http://www.effervea.com)