Interface JwtGeneratorConfiguration
-
- All Known Implementing Classes:
JwtGeneratorConfigurationProperties
public interface JwtGeneratorConfigurationEncapsulates Configuration for JWT generation.- Since:
- 1.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetAccessTokenExpiration()How long until the access token expires in seconds.java.lang.IntegergetRefreshTokenExpiration()How long until the refresh token expires in seconds.
-
-
-
Method Detail
-
getAccessTokenExpiration
java.lang.Integer getAccessTokenExpiration()
How long until the access token expires in seconds.- Returns:
- The time, or null if not set to expire
-
getRefreshTokenExpiration
java.lang.Integer getRefreshTokenExpiration()
How long until the refresh token expires in seconds.- Returns:
- The time, or null if not set to expire
-
-