dotnetcore / dotnetcore/WebApiClient
如何将IHttpApi接口定义中的参数传给TokenProvider
Open
question
等待反馈(needs feedback)
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 445
- PR merge metrics
- No merged PRs in 30d
Description
需求是需要根据appName参数动态切换token。
目前是想通过在TokenProvider中获取参数值后去请求token,但是ApiRequestContext和ApiParametersContext都无法通过依赖注入获取到。
需要如何实现此功能
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.