warmans/silex-ldap-auth-controller-provider
Composer 安装命令:
composer require warmans/silex-ldap-auth-controller-provider
包简介
LDAP auth controller provider for silex
README 文档
README
Usage:
$app->mount('/auth', new \SilexProvider\LdapAuthControllerProvider());
Requires the following config options:
'auth.template.login' => 'login',
'auth.ldap.options' => array(
'host' => '',
'bindRequiresDn' => true,
'baseDn' => '',
'accountFilterFormat' => '',
'username' => '',
'password' => '',
)
(see Zend\Ldap docs for ldap option explanations)
The auth template should be a template available in your view paths (see litek/silex-php-engine).
The login template must submit a form to /auth/login with a field called "user" and "password". Groups can be enforced wuth the baseDn.
统计信息
- 总下载量: 409
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-07-11