Class OAuthDeviceTokenProperties

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

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

    • OAuthDeviceTokenProperties

      public OAuthDeviceTokenProperties()
  • Method Details

    • getMaxTimeToLiveInSeconds

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

      public String getRefreshInterval()
      The device refresh interval. The client should attempt to acquire an access token every few seconds (at a rate specified by interval) by POSTing to the access token endpoint on the server.
    • getStorageName

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

      public OAuthDeviceTokenProperties setMaxTimeToLiveInSeconds(String maxTimeToLiveInSeconds)
      Hard timeout to kill the device token and expire it.
      Returns:
      this.
    • setRefreshInterval

      public OAuthDeviceTokenProperties setRefreshInterval(String refreshInterval)
      The device refresh interval. The client should attempt to acquire an access token every few seconds (at a rate specified by interval) by POSTing to the access token endpoint on the server.
      Returns:
      this.
    • setStorageName

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