docs: 补充token有效期注释
This commit is contained in:
@@ -78,9 +78,9 @@ security:
|
|||||||
jwt:
|
jwt:
|
||||||
# JWT 秘钥
|
# JWT 秘钥
|
||||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
# 访问令牌 有效期(单位:秒),默认 1 小时
|
# 访问令牌 有效期(单位:秒),默认 1 小时,-1 表示永不过期
|
||||||
access-token-time-to-live: 3600
|
access-token-time-to-live: 3600
|
||||||
# 刷新令牌有效期(单位:秒),默认 7 天
|
# 刷新令牌有效期(单位:秒),默认 7 天,-1 表示永不过期
|
||||||
refresh-token-time-to-live: 604800
|
refresh-token-time-to-live: 604800
|
||||||
# 无需认证的请求路径
|
# 无需认证的请求路径
|
||||||
ignore-urls:
|
ignore-urls:
|
||||||
|
|||||||
@@ -76,9 +76,9 @@ security:
|
|||||||
jwt:
|
jwt:
|
||||||
# JWT 秘钥
|
# JWT 秘钥
|
||||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
# 访问令牌 有效期(单位:秒),默认 1 小时
|
# 访问令牌 有效期(单位:秒),默认 1 小时,-1 表示永不过期
|
||||||
access-token-time-to-live: 3600
|
access-token-time-to-live: 3600
|
||||||
# 刷新令牌有效期(单位:秒),默认 7 天
|
# 刷新令牌有效期(单位:秒),默认 7 天,-1 表示永不过期
|
||||||
refresh-token-time-to-live: 604800
|
refresh-token-time-to-live: 604800
|
||||||
# 无需认证的请求路径
|
# 无需认证的请求路径
|
||||||
ignore-urls:
|
ignore-urls:
|
||||||
|
|||||||
Reference in New Issue
Block a user