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