spryker/authorization
最新稳定版本:1.6.0
Composer 安装命令:
composer require spryker/authorization
包简介
Authorization module
README 文档
README
Generic authorization module that can be used across different layers.
It provides the possibility to implement different authorization strategies using the Spryker\Shared\AuthorizationExtension\Dependency\Plugin\AuthorizationStrategyPluginInterface.
The general idea is that strategies have a name and when an authorization check is requested a strategy can be requested by name. This allows it to share a single strategy coming from one module between different modules and also makes it easy to change strategies.
An authorization request is composed in this way:
AuthorizationRequestTransfer- has one
AuthorizationIdentityTransfer - has one
AuthorizationEntityTransfer
- has one
The identity describes accessor and the entity the object the authoriziation is checked against.
An authorization check will return an AuthorizationResponseTransfer.
Installation
composer require spryker/authorization
Documentation
统计信息
- 总下载量: 1.46M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 6
其他信息
- 授权协议: proprietary
- 更新时间: 2021-08-06