maximilianoraul/yii2-openldap-user
Composer 安装命令:
composer require maximilianoraul/yii2-openldap-user
包简介
Enable the use of OpenLDAP to authenticate users
关键字:
README 文档
README
Enable the use of OpenLDAP to authenticate users
Installation
The preferred way to install this extension is through composer.
Either run
composer require maximilianoraul/yii2-openldap-user "*"
or add
"maximilianoraul/yii2-openldap-user": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by:
Add in your config (config/web.php for the basic app):
'components' => [ //... 'user' => [ 'identityClass' => 'MaximilianoRaul\OpenLdap\model\User', ], //... 'openldap' => [ 'class' => 'MaximilianoRaul\OpenLdap\Openldap', 'host' => "ldap.example.int", 'protocol' => "ldap", 'port' => 389, 'baseDn' => "dc=example,dc=int", 'ldapVersion' => 3, ], //...
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-09-27