Skip to content

如何将IHttpApi接口定义中的参数传给TokenProvider #279

@LGinC

Description

@LGinC

需求是需要根据appName参数动态切换token。
目前是想通过在TokenProvider中获取参数值后去请求token,但是ApiRequestContext和ApiParametersContext都无法通过依赖注入获取到。

需要如何实现此功能

Metadata

Metadata

Assignees

No one assigned

    Labels

    question等待反馈(needs feedback)这意味着需要来自发起者的反馈(This means that feedback from the author is required)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions