collecthor/yii2-session-auth
最新稳定版本:v1.2.5
Composer 安装命令:
composer require collecthor/yii2-session-auth
包简介
Session authentication for your API
README 文档
README
When you expose an API you often have a different configuration for authentication. Most APIs use some kind of session-less authentication using tokens of some kind.
This component implements such session-less authentication where the token is the session key.
It works by shortly opening the session to extract the relevant data, then aborting it using session_abort(). This means
there is no write done to the session and locking (if using the standard file backend) is kept to a minimum.
统计信息
- 总下载量: 20.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-24