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
This is
OAuthDeviceTokenProperties
.- Since:
- 6.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHard timeout to kill the device token and expire it.The device refresh interval.The storage object name used and created by CAS to hold OAuth device tokens in the backing ticket registry implementation.setMaxTimeToLiveInSeconds
(String maxTimeToLiveInSeconds) Hard timeout to kill the device token and expire it.setRefreshInterval
(String refreshInterval) The device refresh interval.setStorageName
(String storageName) The storage object name used and created by CAS to hold OAuth device tokens in the backing ticket registry implementation.
-
Constructor Details
-
OAuthDeviceTokenProperties
public OAuthDeviceTokenProperties()
-
-
Method Details
-
getMaxTimeToLiveInSeconds
Hard timeout to kill the device token and expire it. -
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
The storage object name used and created by CAS to hold OAuth device tokens in the backing ticket registry implementation. -
setMaxTimeToLiveInSeconds
Hard timeout to kill the device token and expire it.- Returns:
this
.
-
setRefreshInterval
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
The storage object name used and created by CAS to hold OAuth device tokens in the backing ticket registry implementation.- Returns:
this
.
-