macfly/yii2-authclient-adfs
最新稳定版本:0.0.2
Composer 安装命令:
composer require macfly/yii2-authclient-adfs
包简介
Adfs Oauth2 client for yii2-authclient
关键字:
README 文档
README
Adfs client for yii2-authclient
Installation
Through Composer From console:
composer require macfly/yii2-authclient-adfs
or add to "require" section to composer.json
"macfly/yii2-authclient-adfs": "*"
Usage
Set up Oauth2 single sign-on on Active Directory with ADFS. And add the AdfsOauth2 client to your auth clients.
php
'components' => [
'authClientCollection' => [
'class' => \yii\authclient\Collection::className(),
'clients' => [
'adfs' => [
'class' => 'macfly\authclient\AdfsOAuth2',
'authUrl' => 'https://adfs.microsoft.com/adfs/oauth2/authorize',
'tokenUrl' => 'https://adfs.microsoft.com/adfs/oauth2/token',
'clientId' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
'clientSecret' => 'yyyyyyyyy',
'userAttributes' => [
'email',
],
],
// other clients
],
],
// ...
]
统计信息
- 总下载量: 1.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-02-24