opauth/live
最新稳定版本:0.1.0
Composer 安装命令:
composer require opauth/live
包简介
Live Connect strategy for Opauth
README 文档
README
Opauth strategy for (Microsoft) Live Connect authentication.
Confusingly, Live Connect is (was) also known as:
- Windows Live
- Microsoft Passport
- Live ID
- MSN ID
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Live:
cd path_to_opauth/Strategy git clone git://github.com/opauth/live.git Liveor
composer require opauth/live
-
Create a Live Connect application at https://account.live.com/developers/applications
- Once application is created, be sure to go to My apps > API Settings to define your redirect domain to be
http://path_to_opauth/live/oauth2callback.
- Once application is created, be sure to go to My apps > API Settings to define your redirect domain to be
-
Configure Opauth-Live strategy.
-
Direct user to
http://path_to_opauth/liveto authenticate -
If
emailfield is needed, addwl.emailsto scope parameter inLiveStrategy.php(line 38). E.g.,'scope' => 'wl.basic wl.emails'.
Strategy configuration
Required parameters:
<?php 'Live' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
Optional parameters:
scope, state
References
License
Opauth-GitHub is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)
统计信息
- 总下载量: 4.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-08-08