Class OAuthAccessTokenProperties

java.lang.Object
org.apereo.cas.configuration.model.support.oauth.OAuthAccessTokenProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-oauth") public class OAuthAccessTokenProperties extends Object implements Serializable
Since:
5.2.0
See Also:
  • Constructor Details

    • OAuthAccessTokenProperties

      public OAuthAccessTokenProperties()
  • Method Details

    • getMaxTimeToLiveInSeconds

      public String getMaxTimeToLiveInSeconds()
      Hard timeout to kill the access token and expire it.
    • getTimeToKillInSeconds

      public String getTimeToKillInSeconds()
      Sliding window for the access token expiration policy. Essentially, this is an idle time out.
    • isCreateAsJwt

      public boolean isCreateAsJwt()
      Create access token as JWTs.
    • getStorageName

      public String getStorageName()
      The storage object name used and created by CAS to hold OAuth access tokens in the backing ticket registry implementation.
    • getCrypto

      Crypto settings.
    • setMaxTimeToLiveInSeconds

      public OAuthAccessTokenProperties setMaxTimeToLiveInSeconds(String maxTimeToLiveInSeconds)
      Hard timeout to kill the access token and expire it.
      Returns:
      this.
    • setTimeToKillInSeconds

      public OAuthAccessTokenProperties setTimeToKillInSeconds(String timeToKillInSeconds)
      Sliding window for the access token expiration policy. Essentially, this is an idle time out.
      Returns:
      this.
    • setCreateAsJwt

      public OAuthAccessTokenProperties setCreateAsJwt(boolean createAsJwt)
      Create access token as JWTs.
      Returns:
      this.
    • setStorageName

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

      Crypto settings.
      Returns:
      this.