Class OAuthDeviceUserCodeProperties

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

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

    • OAuthDeviceUserCodeProperties

      public OAuthDeviceUserCodeProperties()
  • Method Details

    • getMaxTimeToLiveInSeconds

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

      public int getUserCodeLength()
      Length of the generated user code.
    • getStorageName

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

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

      public OAuthDeviceUserCodeProperties setUserCodeLength(int userCodeLength)
      Length of the generated user code.
      Returns:
      this.
    • setStorageName

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