Class 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 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)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object