richardmichel/passport-cache-token
最新稳定版本:v1.0.3
Composer 安装命令:
composer require richardmichel/passport-cache-token
包简介
关键字:
README 文档
README
Make laravel/passport token cacheable.
Installing
$ composer require richardmichel/passport-cache-token -vvv
Usage
Thanks to Laravel's automatic package discovery mechanism, you don't need to do any additional operations.
Of course, you can also control the cache strategy freely, just need to configure the following in the configuration file:
config/passport.php
return [ //... 'cache' => [ // Cache key prefix 'prefix' => 'passport_', // The lifetime of token cache, // Unit: second 'expires_in' => 300, // Cache tags 'tags' => [], ], ];
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-11