toggle menu
few
jvm
switch theme
search in API
web
/
web.security.config
/
WebSecurityConfig
/
tokenGenerator
token
Generator
@
Bean
(
name
=
[
"webTokenGenerator"
]
)
fun
tokenGenerator
(
@
Value
(
value
=
"${web.security.jwt.token.secretkey}"
)
secretKey
:
String
,
@
Value
(
value
=
"${web.security.jwt.token.validtime.access}"
)
accessTokenValidTime
:
Long
,
@
Value
(
value
=
"${web.security.jwt.token.validtime.refresh}"
)
refreshTokenValidTime
:
Long
)
:
TokenGenerator