从休息请求中获取授权标头
我正在使用凹槽框架。有人知道如何从请求中获取授权标头吗?
通常,要获取请求,我们会执行 $this->request
,但是如何提取表单中的 Authorization 标头
Authorization:Basic jadfasdbaHGDWDSJDN==
I'm using the recess framework. Does somebody knows how to get the Authorization header from the request.
Normally, to get the request, we do $this->request
, but how to extract the Authorization header which is in a form
Authorization:Basic jadfasdbaHGDWDSJDN==
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当请求到达服务器时,用户名和密码已经被解码,得到
When the request arrives at the server, the username and password is already decoded, to get the