t1mmen/opauth-wunderlist

Wunderlist 的 Opauth 策略

1.0 2016-03-02 19:59 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:53:41 UTC


README

Opauth 的 Wunderlist 认证策略。

基于 https://developer.wunderlist.com/documentation/concepts/authorization 实现

入门

  1. 安装 Opauth-Wunderlist

    使用 git

    cd path_to_opauth/Strategy
    git clone https://github.com/t1mmen/opauth-wunderlist.git wunderlist

或者,使用 Composer,只需将以下内容添加到您的 composer.json

{
    "require": {
        "t1mmen/opauth-wunderlist": "*"
    }
}

然后运行 composer install

  1. https://developer.wunderlist.com/apps/new 创建 Wunderlist 应用

  2. 配置 Opauth-Wunderlist 策略,至少需要 Client IDClient Secret

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

策略配置

必需参数

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

许可证

Opauth-Wunderlist 采用 MIT 许可证版权 © 2016 Timm Stokke (http://timm.stokke.me)