public interface IoTCredentialManage
Modifier and Type | Method and Description |
---|---|
void |
asyncRefreshIoTCredential(IoTCredentialListener listener)
异步刷新ioTToken
|
IoTCredentialData |
getIoTCredential()
获取ioTCredential数据
|
java.lang.String |
getIoTIdentity()
获取ioT 用户唯一身份标识
|
java.lang.String |
getIoTRefreshToken()
获取refreshToken
|
java.lang.String |
getIoTToken()
获取ioTToken
|
boolean |
isIoTRefreshTokenExpired()
ioTRefreshToken是否失效
|
boolean |
isIoTTokenExpired()
iotToken是否失效
|
void asyncRefreshIoTCredential(IoTCredentialListener listener)
listener
- 刷新结果回调java.lang.String getIoTToken()
java.lang.String getIoTIdentity()
java.lang.String getIoTRefreshToken()
boolean isIoTTokenExpired()
boolean isIoTRefreshTokenExpired()
IoTCredentialData getIoTCredential()