Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重构 get_dynamic_client 对 access_token 的依赖链路 #819

Closed
piglei opened this issue Mar 4, 2021 · 1 comment
Closed

重构 get_dynamic_client 对 access_token 的依赖链路 #819

piglei opened this issue Mar 4, 2021 · 1 comment
Assignees

Comments

@piglei
Copy link
Collaborator

piglei commented Mar 4, 2021

目前,get_dynamic_client() 函数直接依赖了 access_token。经过探讨后,决定重构这部分依赖逻辑:

  • 增加新对象:BkApiCredential
  • get_dynamic_client() 不再直接依赖 access_token,而是依赖包括鉴权信息的 bke_client 对象
  • 该方法可能会同时增加 PaaSCC 相关 Client 对象
@piglei
Copy link
Collaborator Author

piglei commented Mar 18, 2021

Close #828

@piglei piglei closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant