Biny中如何将Token添加到请求头Header中?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.7k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
类似这样:
Request Headers
authorization:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzc28uY29vbCIsImlhdCI6MTYxMTA1MDY1OSwiZGF0YSI6eyJ1c2VyaWQiOjF9LCJzY29wZXMiOiJyb2xlX2FjY2VzcyIsImV4cCI6MTYxMTA1Nzg1OX0.c8qvPS1lHrk6GuCnU2a4XUnThuzkoowKH2nKCZZE7Vk
现在在做统一登录,登陆后将token放到请求头,老师能给个思路吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. Start by locating Biny's request-handling and authentication integration points, then determine how a token from unified login should be attached to request headers. Done means the expected token-header behavior is defined and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100