Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.76 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.76 KB

Ride: Web Security

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