AuthenticationMethod Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.provisioning.service.auth.AuthenticationMethod

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 ProvisioningConnectionString populateWithAuthenticationProperties(ProvisioningConnectionString provisioningConnectionString)

Abstract helper function to populateIotHubConnectionString 

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

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