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

建议:能否为token绑定映射值 #146

Open
RANSAA opened this issue Sep 26, 2024 · 1 comment
Open

建议:能否为token绑定映射值 #146

RANSAA opened this issue Sep 26, 2024 · 1 comment

Comments

@RANSAA
Copy link

RANSAA commented Sep 26, 2024

如题能否为AccessToken提供映射名,即添加tokens时对应的每一个token绑定一个名称,请求时直接传输这个映射值;
然后服务端通过这个映射值找到对应真实的token,并且更新token时更新映射值对应的真实AccessToken等信息即可;
这样就可以减轻请求时频繁更新APIKEY的值。

@lanqian528
Copy link
Owner

这不就是refresh_token么

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

2 participants