Package io.jans.as.server.model.common
Class DeviceAuthorizationCacheControl
- java.lang.Object
-
- io.jans.as.server.model.common.DeviceAuthorizationCacheControl
-
- All Implemented Interfaces:
java.io.Serializable
public class DeviceAuthorizationCacheControl extends java.lang.Object implements java.io.Serializable
Class used to keep all data about an OAuth2 Device Flow request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceAuthorizationCacheControl()
DeviceAuthorizationCacheControl(java.lang.String userCode, java.lang.String deviceCode, io.jans.as.common.model.registration.Client client, java.util.List<java.lang.String> scopes, java.net.URI verificationUri, int expiresIn, int interval, long lastAccessControl, DeviceAuthorizationStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.common.model.registration.Client
getClient()
java.lang.String
getDeviceCode()
int
getExpiresIn()
int
getInterval()
java.lang.Long
getLastAccessControl()
java.util.List<java.lang.String>
getScopes()
DeviceAuthorizationStatus
getStatus()
java.lang.String
getUserCode()
java.net.URI
getVerificationUri()
void
setClient(io.jans.as.common.model.registration.Client client)
void
setDeviceCode(java.lang.String deviceCode)
void
setExpiresIn(int expiresIn)
void
setInterval(int interval)
void
setLastAccessControl(long lastAccessControl)
void
setScopes(java.util.List<java.lang.String> scopes)
void
setStatus(DeviceAuthorizationStatus status)
void
setUserCode(java.lang.String userCode)
void
setVerificationUri(java.net.URI verificationUri)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DeviceAuthorizationCacheControl
public DeviceAuthorizationCacheControl()
-
DeviceAuthorizationCacheControl
public DeviceAuthorizationCacheControl(java.lang.String userCode, java.lang.String deviceCode, io.jans.as.common.model.registration.Client client, java.util.List<java.lang.String> scopes, java.net.URI verificationUri, int expiresIn, int interval, long lastAccessControl, DeviceAuthorizationStatus status)
-
-
Method Detail
-
getUserCode
public java.lang.String getUserCode()
-
setUserCode
public void setUserCode(java.lang.String userCode)
-
getDeviceCode
public java.lang.String getDeviceCode()
-
setDeviceCode
public void setDeviceCode(java.lang.String deviceCode)
-
getClient
public io.jans.as.common.model.registration.Client getClient()
-
setClient
public void setClient(io.jans.as.common.model.registration.Client client)
-
getScopes
public java.util.List<java.lang.String> getScopes()
-
setScopes
public void setScopes(java.util.List<java.lang.String> scopes)
-
getVerificationUri
public java.net.URI getVerificationUri()
-
setVerificationUri
public void setVerificationUri(java.net.URI verificationUri)
-
getExpiresIn
public int getExpiresIn()
-
setExpiresIn
public void setExpiresIn(int expiresIn)
-
getInterval
public int getInterval()
-
setInterval
public void setInterval(int interval)
-
getLastAccessControl
public java.lang.Long getLastAccessControl()
-
setLastAccessControl
public void setLastAccessControl(long lastAccessControl)
-
getStatus
public DeviceAuthorizationStatus getStatus()
-
setStatus
public void setStatus(DeviceAuthorizationStatus status)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-