ride / web-security
Security integration for a Ride web application.
Installs: 4 730
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 0
Open Issues: 0
Requires
- ride/app: ^1.0.0
- ride/lib-event: ^1.0.0
- ride/lib-http: ^1.0.0
- ride/lib-router: ^1.3.0
- ride/lib-security: ^1.0.0
- ride/lib-system: ^1.0.0
- ride/web: ^1.0.0
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
- ride/app
- ride/cli-security
- ride/lib-security
- ride/lib-security-generic
- ride/lib-security-oauth
- ride/web
- ride/web-security-generic
- ride/web-security-oauth
- ride/web-security-orm
Installation
You can use Composer to install this application.
composer require ride/web-security