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 -
Method Summary
Modifier and TypeMethodDescriptionio.jans.as.model.authorize.DeviceAuthzErrorResponseType
fromString
(String string) void
injectDataFromJson
(String json) void
setDeviceCode
(String deviceCode) void
setExpiresIn
(Integer expiresIn) void
setInterval
(Integer interval) void
setUserCode
(String userCode) void
setVerificationUri
(String verificationUri) void
setVerificationUriComplete
(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
-
Constructor Details
-
DeviceAuthzResponse
public DeviceAuthzResponse(jakarta.ws.rs.core.Response clientResponse)
-
-
Method Details
-
fromString
- Specified by:
fromString
in classBaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
-
injectDataFromJson
- Overrides:
injectDataFromJson
in classBaseResponseWithErrors<io.jans.as.model.authorize.DeviceAuthzErrorResponseType>
-
getUserCode
-
setUserCode
-
getDeviceCode
-
setDeviceCode
-
getInterval
-
setInterval
-
getVerificationUri
-
setVerificationUri
-
getVerificationUriComplete
-
setVerificationUriComplete
-
getExpiresIn
-
setExpiresIn
-