tp5使用jwt生成token,做api的用户认证
摘要:首先 composer 安装 firebase/php-jwt github:https://github.com/firebase/php-jwt composer require firebase/php-jwt使用 当用户登录时,如果有 token 并且没有过期,则得到用户信息,如果 toke
阅读全文
posted @ 2020-05-14 13:18
posted @ 2020-05-14 13:18