AuthenticationMethod 类

定义

Class used to abstract the different authentication methods used to use IoT Hub SDK.

public class AuthenticationMethod
继承
java.lang.Object
AuthenticationMethod

字段

key

Shared access policy key (if applies)

policyName

Authentication policy name

token

Shared access policy token (if applies)

方法

populate(IotHubConnectionString iotHubConnectionStringBuilder)

Abstract helper function to populateIotHubConnectionString 

</code> class with proper authentication properties</p>

适用于