ride/web-security 问题修复 & 功能扩展

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

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

ride/web-security

最新稳定版本:1.2.0

Composer 安装命令:

composer require ride/web-security

包简介

Security integration for a Ride web application.

README 文档

README

This module implements the security layer for a Ride web application.

Parameters

  • security.hash: Name of the password hash algorithm, eg. sha1, md5, ...
  • security.unique: Flag to force unique sessions which forbids a user to login with multiple clients.
  • security.voter.strategy: Set the strategy of the voter chain: affirmative, consensus or unanimous
  • system.security.model.default: Dependency id of the default security model
  • system.security.model.cache: Dependency id of the cached security model
  • system.cache.security: Path to the PHP file of the security layer's cache implementation.

Events

  • security.password.update: Invoked before saving a user when the password has changed. This event passes the user instance and the plain text password as argument.
  • security.authentication.login: Invoked after the user has been authenticated with username and password. This event passes the user instance as argument.

Related Modules

Installation

You can use Composer to install this application.

composer require ride/web-security

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-21