Class DeviceAuthzResponse


  • public class DeviceAuthzResponse
    extends BaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
    Represents a device authz response received from the authorization server.
    • Constructor Detail

      • DeviceAuthzResponse

        public DeviceAuthzResponse​(javax.ws.rs.core.Response clientResponse)
    • Method Detail

      • fromString

        public io.jans.as.model.authorize.DeviceAuthzErrorResponseType fromString​(java.lang.String string)
        Specified by:
        fromString in class BaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
      • injectDataFromJson

        public void injectDataFromJson​(java.lang.String json)
        Overrides:
        injectDataFromJson in class BaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
      • 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)
      • getInterval

        public java.lang.Integer getInterval()
      • setInterval

        public void setInterval​(java.lang.Integer interval)
      • getVerificationUri

        public java.lang.String getVerificationUri()
      • setVerificationUri

        public void setVerificationUri​(java.lang.String verificationUri)
      • getVerificationUriComplete

        public java.lang.String getVerificationUriComplete()
      • setVerificationUriComplete

        public void setVerificationUriComplete​(java.lang.String verificationUriComplete)
      • getExpiresIn

        public java.lang.Integer getExpiresIn()
      • setExpiresIn

        public void setExpiresIn​(java.lang.Integer expiresIn)