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
Since:
5.2.0
See Also:
  • Constructor Details

    • OAuthRefreshTokenProperties

      public OAuthRefreshTokenProperties()
  • Method Details

    • getTimeToKillInSeconds

      public String getTimeToKillInSeconds()
      Hard timeout beyond which the refresh token is considered expired.
    • getStorageName

      public String 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

      public OAuthRefreshTokenProperties setTimeToKillInSeconds(String timeToKillInSeconds)
      Hard timeout beyond which the refresh token is considered expired.
      Returns:
      this.
    • setStorageName

      public OAuthRefreshTokenProperties setStorageName(String storageName)
      The storage object name used and created by CAS to hold OAuth refresh tokens in the backing ticket registry implementation.
      Returns:
      this.
    • setMaxActiveTokensAllowed

      public OAuthRefreshTokenProperties setMaxActiveTokensAllowed(long maxActiveTokensAllowed)
      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.