hyperf-auth
hyperf-auth copied to clipboard
hyperf 的 auth 组件
未登陆的情况下, auth()->check() 为哈会报异常, 而不是返回布尔
bug 多个guard token是通用的。没有隔离。
在 auth.php 中使用的 env、make 和 \Doctrine\Common\Cache\FilesystemCache 都被标注为弃用了的,建议修改为官方推荐的方法
请问有对应的方法吗?
PHP Deprecated: Qbhy\HyperfAuth\AuthCommand::gen(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /Users/wenghang/Code/tjcmedium/tjcmedium-io/vendor/96qbhy/hyperf-auth/src/AuthCommand.php on line 33 PHP Stack trace: PHP 1. {main}()...