DeviceCode Class
- java.
lang. Object - com.
microsoft. aad. adal4j. DeviceCode
- com.
public class DeviceCode
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getClientId() |
String | getCorrelationId() |
String |
getDeviceCode()
Returns the device code. |
long |
getExpiresIn()
Returns the expiration in seconds. |
long |
getInterval()
Returns the interval. |
String |
getMessage()
Returns the message which should be displayed to the user. |
String | getResource() |
String |
getUserCode()
Returns the user code. |
String |
getVerificationUrl()
Returns the verification URL. |
void | setClientId(String clientId) |
void | setCorrelationId(String correlationId) |
void | setResource(String resource) |
Method Details
getClientId
protected String getClientId()
getCorrelationId
protected String getCorrelationId()
getDeviceCode
public String getDeviceCode()
Returns the device code.
Returns:
getExpiresIn
public long getExpiresIn()
Returns the expiration in seconds.
Returns:
getInterval
public long getInterval()
Returns the interval.
Returns:
getMessage
public String getMessage()
Returns the message which should be displayed to the user.
Returns:
getResource
protected String getResource()
getUserCode
public String getUserCode()
Returns the user code.
Returns:
getVerificationUrl
public String getVerificationUrl()
Returns the verification URL.
Returns:
setClientId
protected void setClientId(String clientId)
Parameters:
setCorrelationId
protected void setCorrelationId(String correlationId)
Parameters:
setResource
protected void setResource(String resource)
Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for