JwtConfiguration

@AutoConfiguration
@ConditionalOnMissingBean(value = [JwtProvider::class])
class JwtConfiguration

AutoConfiguration class that registers DefaultJwtProvider as a Bean. Configuration that is disabled when another JwtProvider exists as a Bean.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
fun jwtProvider(@Value(value = "${jwt.secret}") secret: String, @Value(value = "${jwt.accessTokenExpire}") accessTokenExpire: Long, @Value(value = "${jwt.refreshTokenExpire}") refreshTokenExpire: Long): DefaultJwtProvider

DefaultJwtProvider with properties injected.