rakoitde/shieldldap 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rakoitde/shieldldap

Composer 安装命令:

composer require rakoitde/shieldldap

包简介

LDAP Authentication and Authorization for CodeIgniter 4

README 文档

README

ShieldLDAP is an CodeIgniter Shield Addon to authenticate against an LDAP Server.

See the An Official Auth Library for more Info.

Authentication Methods

ShieldLDAP provides the LDAP-based method.

LDAP

This is your typical username/password system you see everywhere. It includes a secure "remember me" functionality. This can be used for standard web applications, as well as for single page applications. Includes full controllers and basic views for all standard functionality, like registration, login, forgot password, etc.

Getting Started

Prerequisites

Usage of Shield requires the following:

Installation

Installation is done through Composer.

composer config minimum-stability dev
composer config prefer-stable true

composer require rakoitde/shieldldap dev-develop

Setup

php spark shield:setup
php spark shieldldap:setup

Config AuthLdap in .env

It is recommended that the AuthLdap settings are made in the .env to prevent internal company information from becoming public

#--------------------------------------------------------------------
# Shield AuthLdap
#--------------------------------------------------------------------

authldap.ldap_host              = 
authldap.ldap_domain            = 
authldap.search_base            = 
authldap.storePasswordInSession = false
authldap.use_ldaps              = true
authldap.username               = 
authldap.password               = 

See the (docs)[docs] for more specific instructions on installation and usage recommendations.

Contributing

ShieldLDAP does accept and encourage contributions from the community in any shape. It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

统计信息

  • 总下载量: 79
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-01