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

Export tokenManager #114

Open
taobig opened this issue Aug 28, 2023 · 0 comments
Open

Export tokenManager #114

taobig opened this issue Aug 28, 2023 · 0 comments

Comments

@taobig
Copy link

taobig commented Aug 28, 2023

var tokenManager TokenManager = TokenManager{cache: cache} // github.com/larksuite/oapi-sdk-go/[email protected]/core/tokenmanager.go

有时候本程序作为一个服务,需要暴露access token给外部其他程序临时调用,希望能够修改tokenManager为可导出变量,同时将它的 getAppAccessToken()getTenantAccessToken() 两个方法也设置为可导出。另外希望同时也支持导出access token的ttl。

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