Package io.jans.as.client
Class DeviceAuthzResponse
- java.lang.Object
-
- io.jans.as.client.BaseResponse
-
- io.jans.as.client.BaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
-
- io.jans.as.client.DeviceAuthzResponse
-
public class DeviceAuthzResponse extends BaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
Represents a device authz response received from the authorization server.
-
-
Field Summary
-
Fields inherited from class io.jans.as.client.BaseResponse
entity, headers, location, status
-
-
Constructor Summary
Constructors Constructor Description DeviceAuthzResponse(javax.ws.rs.core.Response clientResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.model.authorize.DeviceAuthzErrorResponseType
fromString(java.lang.String string)
java.lang.String
getDeviceCode()
java.lang.Integer
getExpiresIn()
java.lang.Integer
getInterval()
java.lang.String
getUserCode()
java.lang.String
getVerificationUri()
java.lang.String
getVerificationUriComplete()
void
injectDataFromJson(java.lang.String json)
void
setDeviceCode(java.lang.String deviceCode)
void
setExpiresIn(java.lang.Integer expiresIn)
void
setInterval(java.lang.Integer interval)
void
setUserCode(java.lang.String userCode)
void
setVerificationUri(java.lang.String verificationUri)
void
setVerificationUriComplete(java.lang.String verificationUriComplete)
-
Methods inherited from class io.jans.as.client.BaseResponseWithErrors
getClaim, getClaimMap, getClaims, getErrorDescription, getErrorType, getErrorUri, getFirstClaim, injectErrorIfExistSilently, injectErrorIfExistSilently, setClaimMap, setErrorDescription, setErrorType, setErrorUri, toString
-
Methods inherited from class io.jans.as.client.BaseResponse
getEntity, getHeaders, getLocation, getStatus, setEntity, setHeaders, setLocation, setStatus
-
-
-
-
Method Detail
-
fromString
public io.jans.as.model.authorize.DeviceAuthzErrorResponseType fromString(java.lang.String string)
- Specified by:
fromString
in classBaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
-
injectDataFromJson
public void injectDataFromJson(java.lang.String json)
- Overrides:
injectDataFromJson
in classBaseResponseWithErrors<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)
-
-