mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
maxkey.auth.session.timeout 默认参数和默认值
This commit is contained in:
parent
c2f559cae3
commit
60868abc7e
@ -25,13 +25,13 @@ import org.springframework.stereotype.Component;
|
|||||||
@Configuration
|
@Configuration
|
||||||
public class AuthJwkConfig {
|
public class AuthJwkConfig {
|
||||||
|
|
||||||
@Value("${maxkey.auth.jwt.expires:86400}")
|
@Value("${maxkey.auth.jwt.expires:28800}")
|
||||||
int expires;
|
int expires;
|
||||||
|
|
||||||
@Value("${maxkey.auth.jwt.secret}")
|
@Value("${maxkey.auth.jwt.secret}")
|
||||||
String secret;
|
String secret;
|
||||||
|
|
||||||
@Value("${maxkey.session.timeout}")
|
@Value("${maxkey.auth.session.timeout:86400}")
|
||||||
int refreshExpires;
|
int refreshExpires;
|
||||||
|
|
||||||
@Value("${maxkey.auth.jwt.refresh.secret}")
|
@Value("${maxkey.auth.jwt.refresh.secret}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user