feat: 新增JWT刷新token接口
This commit is contained in:
@@ -63,8 +63,10 @@ security:
|
||||
jwt:
|
||||
# JWT 秘钥
|
||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||
# JWT 有效期(单位:秒)
|
||||
ttl: 7200
|
||||
# 访问令牌 有效期(单位:秒),默认 1 小时
|
||||
access-token-expiration: 3600
|
||||
# 刷新令牌有效期(单位:秒),默认 7 天
|
||||
refresh-token-expiration: 604800
|
||||
# 白名单列表
|
||||
ignore-urls:
|
||||
- /v3/api-docs/**
|
||||
@@ -75,6 +77,7 @@ security:
|
||||
- /swagger-ui/**
|
||||
- /swagger-ui.html
|
||||
- /api/v1/auth/captcha
|
||||
- /api/v1/auth/refresh-token
|
||||
- /ws/**
|
||||
|
||||
# 文件存储配置
|
||||
|
||||
Reference in New Issue
Block a user