aliyun / aliyun/openapi-sdk-php
动态Client支持
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- PHP
- Stars
- 530
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
您的功能请求是否与问题有关? 请描述一下。
我们是基于Swoole做的项目。在项目中会存在会根据请求去使用不同的accesskey和accesssecret。由于是协程并发。所以会导致static会存在不安全。所以有计划去支持动态client么。还是说只能根据协程ID 去区分不同的clientname 去保证安全
描述你想要的解决方案
请描述所需的行为。
描述您考虑过的替代方案
请描述您考虑的替代解决方案或功能。
Contributor guide
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 files, tests, or entry points. Start by locating how the SDK client stores accesskey and accesssecret, then review its behavior under Swoole coroutine concurrency. Done would require an agreed design for per-request credentials or client isolation, plus tests demonstrating that concurrent requests do not share credentials.
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
- 25/100