OAuth2身份验证令牌到期 [英] OAuth2 Authentication Tokens Expiration

查看:90
本文介绍了OAuth2身份验证令牌到期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am trying to implement OAuth2 based authentications. I wanted to know some best practices while configuring expiration limit of Authentication tokens. How can the expiration be configured and monitored ?

令牌过期后是否应在一定期限内进行续签或延长?

Should the token be renewed or extended with time limit once it expires ?

令牌过期后,应用程序应如何操作?

How should the app behave once the token is expired ?

推荐答案

我正在尝试实现基于OAuth2的身份验证.在配置身份验证令牌的到期限制时,我想了解一些最佳实践.如何配置和监控到期时间?

I am trying to implement OAuth2 based authentications. I wanted to know some best practices while configuring expiration limit of Authentication tokens. How can the expiration be configured and monitored ? 

令牌到期后是否应在一定期限内进行续签或延长?

Should the token be renewed or extended with time limit once it expires ?

令牌过期后,应用程序应如何操作?

How should the app behave once the token is expired ?


这篇关于OAuth2身份验证令牌到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆