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

Develop #467

Merged
merged 4 commits into from
Apr 6, 2024
Merged

Develop #467

merged 4 commits into from
Apr 6, 2024

Conversation

Matrix-X
Copy link
Contributor

@Matrix-X Matrix-X commented Apr 6, 2024

No description provided.

syd and others added 4 commits April 4, 2024 18:48
1. OpenWorkProvider Application 对应仅使用provider_access_token的API, 如openWork/license内相关API
2. OpenWork Application 紧涉及suite_access_token的API
3. OpenWork.ProviderClient(corpID string, permanentCode string, externalConfig *work.UserConfig) *work.Work 返回服务商待开发应该对应使用work.Work
4. OpenWork.ThirdpartyClient(corpID string, permanentCode string, externalConfig *work.UserConfig) *work.Work 返回第三方开发应用对应使用的work.Work, work的AccessToken替换为openWork/corp.AccessToken, 给token会自动刷新suite_access_token
1. OpenWorkProvider Application 对应仅使用provider_access_token的API, 如openWork/license内相关API
2. OpenWork Application 紧涉及suite_access_token的API
3. OpenWork.ProviderClient(corpID string, permanentCode string, externalConfig *work.UserConfig) *work.Work 返回服务商待开发应该对应使用work.Work
4. OpenWork.ThirdpartyClient(corpID string, permanentCode string, externalConfig *work.UserConfig) *work.Work 返回第三方开发应用对应使用的work.Work, work的AccessToken替换为openWork/corp.AccessToken, 给token会自动刷新suite_access_token
 重构 openWork 以应对base Client中override access_token 问题
@Matrix-X Matrix-X merged commit 03b4559 into release/3.2.0 Apr 6, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant