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
This is
OAuthDeviceUserCodeProperties
.- Since:
- 6.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHard timeout to kill the token and expire it.The storage object name used and created by CAS to hold OAuth device user codes in the backing ticket registry implementation.int
Length of the generated user code.setMaxTimeToLiveInSeconds
(String maxTimeToLiveInSeconds) Hard timeout to kill the token and expire it.setStorageName
(String storageName) The storage object name used and created by CAS to hold OAuth device user codes in the backing ticket registry implementation.setUserCodeLength
(int userCodeLength) Length of the generated user code.
-
Constructor Details
-
OAuthDeviceUserCodeProperties
public OAuthDeviceUserCodeProperties()
-
-
Method Details
-
getMaxTimeToLiveInSeconds
Hard timeout to kill the token and expire it. -
getUserCodeLength
public int getUserCodeLength()Length of the generated user code. -
getStorageName
The storage object name used and created by CAS to hold OAuth device user codes in the backing ticket registry implementation. -
setMaxTimeToLiveInSeconds
Hard timeout to kill the token and expire it.- Returns:
this
.
-
setUserCodeLength
Length of the generated user code.- Returns:
this
.
-
setStorageName
The storage object name used and created by CAS to hold OAuth device user codes in the backing ticket registry implementation.- Returns:
this
.
-