laravel 如何生成Authorization值

1,创建密码授权客户端 在laravel当前目录执行 php artisan passport:client --password 生成如下值 Client ID: 11 Client Secret: fOxGavTYTJFP7Eqo0SBTn37VOfcUZm1ZgOzJMVuV   2,获取访问令牌 'grant_type' => 'password', 'client_id' => '11'
相关文章
相关标签/搜索