dunksjunk/ad-auth
最新稳定版本:5.0.0
Composer 安装命令:
composer require dunksjunk/ad-auth
包简介
A Laravel 5.0/5.1 package to add Active Directory authentication and local database user mapping.
README 文档
README
A Laravel 5.0/5.1 package to add Active Directory authentication and local database user mapping.
This tool is optimized and set up for authentication against Microsoft Active Directory Services.
Install
Via Composer:
$ composer require "dunksjunk/ad-auth":"dev-master"
dev-master should always work for the currently released Laravel version.
Next add the service provider to the providers section in /config/app.php:
dunksjunk\ADAuth\ADAuthServiceProvider
Then, in your Laravel App root directory:
$ php artisan vendor:publish --provider="dunksjunk\ADAuth\ADAuthServiceProvider"
This will place an adauth.php file in your config directory.
Edit config/adauth.php with your domain information and other settings.
Finally, modify /config/auth.php to use the ADAuth driver:
'driver' => 'ads',
Usage
Generally, just drop it in, set your options and go.
If using the SSL option and you are having problems, you may need to all the line 'TLS_REQCERT allow' to your LDAP.conf file for php. There's articles everywhere on it.
Typically, regular connections are on port 389, and SSL connections are on 636.
Change log
Please see CHANGELOG for more information what has changed recently.
About Dunk's Junk
Most things I publish are tools and routines I use on various projects myself. Where there may be many other versions, I put out one that works for me better, or so I can learn. If you can make use of my junk, have at it. If it works good for you, let me know.
If you can find a better way of doing something, I'm all ears and will give careful consideration to whatever suggestions come by.
I just want to make good, solid, and simple tools that are easy to set up and use quickly. Just enough flexibility to fit well, but not so much that the tool itself gets bloated.
Credits
License
The MIT License (MIT). Please see License File for more information.
dunksjunk/ad-auth 适用场景与选型建议
dunksjunk/ad-auth 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 111 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 07 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ldap」 「auth」 「laravel」 「active directory」 「dunksjunk」 「ad-auth」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dunksjunk/ad-auth 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dunksjunk/ad-auth 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dunksjunk/ad-auth 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Multiauth package
LDAP user provider bundle for Symfony 6.4
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
This package provides a flexible way to add Role-based Permissions to Laravel 6.x
Email Toolkit Plugin for CakePHP
Map group membership from a directory service to MediaWiki.
统计信息
- 总下载量: 111
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-27