|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.iothisk.model.AuthRequest
public class AuthRequest
Represent the request for HISK Device authentication.
Constructor Summary | |
---|---|
AuthRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.baidubce.model.AbstractBceRequest |
---|
getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthRequest()
Method Detail |
---|
public 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 AbstractBceRequest
credentials
- a valid instance of BceCredentials.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |