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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java