Class OAuthRefreshTokenProperties
java.lang.Object
org.apereo.cas.configuration.model.support.oauth.OAuthRefreshTokenProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-oauth")
public class OAuthRefreshTokenProperties
extends Object
implements Serializable
This is
OAuthRefreshTokenProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Maximum number of active refresh tokens that an application can receive.The storage object name used and created by CAS to hold OAuth refresh tokens in the backing ticket registry implementation.Hard timeout beyond which the refresh token is considered expired.setMaxActiveTokensAllowed
(long maxActiveTokensAllowed) Maximum number of active refresh tokens that an application can receive.setStorageName
(String storageName) The storage object name used and created by CAS to hold OAuth refresh tokens in the backing ticket registry implementation.setTimeToKillInSeconds
(String timeToKillInSeconds) Hard timeout beyond which the refresh token is considered expired.
-
Constructor Details
-
OAuthRefreshTokenProperties
public OAuthRefreshTokenProperties()
-
-
Method Details
-
getTimeToKillInSeconds
Hard timeout beyond which the refresh token is considered expired. -
getStorageName
The storage object name used and created by CAS to hold OAuth refresh tokens in the backing ticket registry implementation. -
getMaxActiveTokensAllowed
public long getMaxActiveTokensAllowed()Maximum number of active refresh tokens that an application can receive. If the application requests more that this limit, the request will be denied and the access token will not be issued. -
setTimeToKillInSeconds
Hard timeout beyond which the refresh token is considered expired.- Returns:
this
.
-
setStorageName
The storage object name used and created by CAS to hold OAuth refresh tokens in the backing ticket registry implementation.- Returns:
this
.
-
setMaxActiveTokensAllowed
Maximum number of active refresh tokens that an application can receive. If the application requests more that this limit, the request will be denied and the access token will not be issued.- Returns:
this
.
-