rigorbb/laravel-fast-auth-links
Composer 安装命令:
composer require rigorbb/laravel-fast-auth-links
包简介
README 文档
README
A package that allows you to add a special hash that temporarily authorizes the user. Without a database.
Installation
Begin by installing this package through Composer.
composer require rigorbb/laravel-fast-auth-links
Usage
You can use these helper methods to add a hash to your links
auth_link_hourly($link, $user); //add hash with hourly active auth_link_daily($link, $user); //add hash with daily active auth_link_monthly($link, $user); //add hash with monthly active
And add HandleFastAuthLink::class middleware in your Kernel.php file.
That's all! Now if user goes through this link with a hash and the hash is active, it will be automatically authorized.
统计信息
- 总下载量: 83
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-07