We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
因为你Github没留邮箱,就直接在Issue里问了,不好意思哈。 我Laravel还是新手,之前只做过网站,没做过API。
第一个问题:'middleware' => 'api.throttle',这个api.throttle是在哪里定义的? 我只知道在Kernel.php中定义键值对,写一行 'api.thrpttle' => XXXX:class,但是没找到。
第二个问题:config.auth中的guards.api那一项的driver是jwt,这个jwt又是在哪定义的? 我看文档里关于自定义看守器的部分,是要将guard定义在provider里的。可我把provider全翻了一遍,也没找到有过改动的。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
因为你Github没留邮箱,就直接在Issue里问了,不好意思哈。
我Laravel还是新手,之前只做过网站,没做过API。
第一个问题:'middleware' => 'api.throttle',这个api.throttle是在哪里定义的?
我只知道在Kernel.php中定义键值对,写一行 'api.thrpttle' => XXXX:class,但是没找到。
第二个问题:config.auth中的guards.api那一项的driver是jwt,这个jwt又是在哪定义的?
我看文档里关于自定义看守器的部分,是要将guard定义在provider里的。可我把provider全翻了一遍,也没找到有过改动的。
The text was updated successfully, but these errors were encountered: