AuthenticationMethod Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. auth. AuthenticationMethod
- com.
public class AuthenticationMethod
Class used to abstract the different authentication methods used to use IoT Hub SDK.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Iot |
populate(IotHubConnectionString iotHubConnectionStringBuilder)
Abstract helper function to populate
|
Method Details
populate
protected abstract IotHubConnectionString populate(IotHubConnectionString iotHubConnectionStringBuilder)
Abstract helper function to populateIotHubConnectionString
</code> class with proper authentication properties</p>
Parameters:
iotHubConnectionStringBuilder
- The IotHubConnectionString that is to be populated with the authentication properties.
Returns:
An instance of IotHubConnectionString populated with the the authentication properties.
Applies to