Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在客户端实现持久访问令牌的使用,并且很想听听正确的方法。
现在我有一个 wpf 应用程序,它使用代码流与 identityserver3 后端一起工作。我使用长寿命的刷新令牌。
我保持访问令牌活动的想法是在每次请求时检查访问令牌的到期时间,并在特定值下执行刷新令牌。
这是解决问题的最佳方式吗?
此外,刷新令牌刷新的最佳方案是什么?我还应该监控到期吗?
谢谢
在项目 git https://github.com/IdentityServer/IdentityServer3/issues/358上找到了这个答案