当前位置:网站首页>PHP uses JWT

PHP uses JWT

2022-06-25 04:52:00 Oglie's magic slippers~

PHP Use jwt

TP5、TP6 Use jwt

1. Introduction package

composer require thans/tp-jwt-auth

Latest package update address ( Include usage documents ):http://packagist.p2hp.com/packages/thans/tp-jwt-auth#v1.2.0

2. matters needing attention
3. matters needing attention
4. matters needing attention

TP6 Use apache Environmental Science Unable to get request header Authorization Need modification .haccess file

Add a new line :
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

laravel、Lumen Use jwt
1. Reference package

composer require tymon/jwt-auth

Document address https://learnku.com/laravel/wikis/25704

原网站

版权声明
本文为[Oglie's magic slippers~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202210533330604.html