alex-kalanis/kw_auth_sources 问题修复 & 功能扩展

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

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

alex-kalanis/kw_auth_sources

最新稳定版本:v5.0.0

Composer 安装命令:

composer require alex-kalanis/kw_auth_sources

包简介

Authentication sources for KWCMS

README 文档

README

Build Status Scrutinizer Code Quality Latest Stable Version Minimum PHP Version Downloads License Code Coverage

Authentication to site - where the data with accounts are stored and how to work with them.

These libraries represent internal getters and setters to access accounts on target site. Just configure where to find them and it's possible to process all basic yet necessary things. It's based on real *nix files and structures.

There are three parts. First one is usual accounts itself. Second one is groups - limit access to things in accordance with preset groups on accounts. And third one is system classes. That limits access too, but it is written directly into the code of each part and it is not need to rely on group ids and if they exists. So groups limits interactions between users and system classes between user and system.

It has variants and interfaces for possibility to use single account file, multiple account files, certificates with passwords and groups. The account files can be switched to different implementations. Or database can be used as data source for both accounts and groups. And either example one on kw_mapper or your own implementation.

Your system probably do not need the same things as mine. So some things can be ignored and another can be available under "extra".

PHP Installation

composer.phar require alex-kalanis/kw_auth_sources

(Refer to Composer Documentation if you are not familiar with composer)

PHP Usage

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the "kalanis\kw_auth_sources" into your app. Extends it for setting your case. For details use example.

4.) Just call \kalanis\kw_auth_sources\Access\Factory in your code

Caveats

It's build for standalone usage - nothing more need than basics and dependencies.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-06-30