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
This is
OAuthAccessTokenProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCrypto settings.Hard timeout to kill the access token and expire it.The storage object name used and created by CAS to hold OAuth access tokens in the backing ticket registry implementation.Sliding window for the access token expiration policy.boolean
Create access token as JWTs.setCreateAsJwt
(boolean createAsJwt) Create access token as JWTs.Crypto settings.setMaxTimeToLiveInSeconds
(String maxTimeToLiveInSeconds) Hard timeout to kill the access token and expire it.setStorageName
(String storageName) The storage object name used and created by CAS to hold OAuth access tokens in the backing ticket registry implementation.setTimeToKillInSeconds
(String timeToKillInSeconds) Sliding window for the access token expiration policy.
-
Constructor Details
-
OAuthAccessTokenProperties
public OAuthAccessTokenProperties()
-
-
Method Details
-
getMaxTimeToLiveInSeconds
Hard timeout to kill the access token and expire it. -
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
The storage object name used and created by CAS to hold OAuth access tokens in the backing ticket registry implementation. -
getCrypto
Crypto settings. -
setMaxTimeToLiveInSeconds
Hard timeout to kill the access token and expire it.- Returns:
this
.
-
setTimeToKillInSeconds
Sliding window for the access token expiration policy. Essentially, this is an idle time out.- Returns:
this
.
-
setCreateAsJwt
Create access token as JWTs.- Returns:
this
.
-
setStorageName
The storage object name used and created by CAS to hold OAuth access tokens in the backing ticket registry implementation.- Returns:
this
.
-
setCrypto
public OAuthAccessTokenProperties setCrypto(EncryptionOptionalSigningOptionalJwtCryptographyProperties crypto) Crypto settings.- Returns:
this
.
-