public class AuthRequest extends AbstractBceRequest
| Constructor and Description |
|---|
AuthRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthCode()
Get the device authentication code
|
String |
getExtra()
Get the device extra message applied in authentication
|
void |
setAuthCode(String authCode)
Set the device authentication code
|
void |
setExtra(String extra)
Set the device extra message applied in authentication
|
AbstractBceRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
getRequestCredentials, setRequestCredentialspublic void setAuthCode(String authCode)
authCode - device authentication codepublic String getAuthCode()
public void setExtra(String extra)
extra - the device extra message applied in authenticationpublic String getExtra()
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2023. All rights reserved.