ref: app structure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package aplp.backend.web.common.security;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
import java.time.Duration;
|
||||
|
||||
@ConfigurationProperties(prefix = "app.jwt")
|
||||
public record JwtProperties(
|
||||
String secret,
|
||||
Duration accessTokenTtl,
|
||||
Duration refreshTokenTtl
|
||||
) {
|
||||
}
|
||||
Reference in New Issue
Block a user