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