We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您的功能请求与现有问题有关吗?请描述 现有的RefreshToken的过期时间是固定的,会造成操作过程中突然过期的风险,在某些情况下不适用
描述您想要的解决方案 给RefreshToken增加滑动过期的选择,可以按照需求使用滑动过期还是绝对过期策略
描述你考虑过的替代方案 给Jwt的配置增加IsRefreshAbsoluteExpired的bool属性进行配置
IsRefreshAbsoluteExpired
bool
"Jwt": { "Issuer": "osharp identity", "Audience": "osharp angular demo", "Secret": "{8619F7C3-B53C-4B85-99F0-983D351ECD82}", "AccessExpireMins": 5, "RefreshExpireMins": 10080, // 7天 "IsRefreshAbsoluteExpired": true }
The text was updated successfully, but these errors were encountered:
🔨 (identity) 给RefreshToken增加滑动过期选项 #129
949ddd2
Successfully merging a pull request may close this issue.
您的功能请求与现有问题有关吗?请描述
现有的RefreshToken的过期时间是固定的,会造成操作过程中突然过期的风险,在某些情况下不适用
描述您想要的解决方案
给RefreshToken增加滑动过期的选择,可以按照需求使用滑动过期还是绝对过期策略
描述你考虑过的替代方案
给Jwt的配置增加
IsRefreshAbsoluteExpired
的bool
属性进行配置The text was updated successfully, but these errors were encountered: