Package org.keycloak.representations
Class OAuth2DeviceAuthorizationResponse
java.lang.Object
org.keycloak.representations.OAuth2DeviceAuthorizationResponse
Representation for Device Authorization Response.
- Author:
- Hiroyuki Wada
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
void
setDeviceCode
(String deviceCode) void
setExpiresIn
(long expiresIn) void
setInterval
(long interval) void
setUserCode
(String userCode) void
setVerificationUri
(String verificationUri) void
setVerificationUriComplete
(String verificationUriComplete)
-
Field Details
-
deviceCode
REQUIRED -
userCode
REQUIRED -
verificationUri
REQUIRED -
verificationUriComplete
OPTIONAL -
expiresIn
protected long expiresInREQUIRED -
interval
protected long intervalOPTIONAL
-
-
Constructor Details
-
OAuth2DeviceAuthorizationResponse
public OAuth2DeviceAuthorizationResponse()
-
-
Method Details
-
getDeviceCode
-
setDeviceCode
-
getUserCode
-
setUserCode
-
getVerificationUri
-
setVerificationUri
-
getVerificationUriComplete
-
setVerificationUriComplete
-
getExpiresIn
public long getExpiresIn() -
setExpiresIn
public void setExpiresIn(long expiresIn) -
getInterval
public long getInterval() -
setInterval
public void setInterval(long interval)
-