| | |
| | | @ConfigurationProperties(prefix = "moral.security.jwt") |
| | | public class JwtSettings { |
| | | /** |
| | | * {@link JwtToken} will expire after this time. |
| | | * {@link com.moral.security.model.token.JwtToken} will expire after this time. |
| | | */ |
| | | private Integer tokenExpirationTime; |
| | | |
| | |
| | | private String tokenIssuer; |
| | | |
| | | /** |
| | | * Key is used to sign {@link JwtToken}. |
| | | * Key is used to sign {@link com.moral.security.model.token.JwtToken}. |
| | | */ |
| | | private String tokenSigningKey; |
| | | |
| | | /** |
| | | * {@link JwtToken} can be refreshed during this timeframe. |
| | | * {@link com.moral.security.model.token.JwtToken} can be refreshed during this timeframe. |
| | | */ |
| | | private Integer refreshTokenExpTime; |
| | | |