public abstract class AuthenticationMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
key
Shared access policy key (if applies)
|
protected String |
policyName
Authentication policy name
|
protected String |
token
Shared access policy token (if applies)
|
| Constructor and Description |
|---|
AuthenticationMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ProvisioningConnectionString |
populateWithAuthenticationProperties(ProvisioningConnectionString provisioningConnectionString)
Abstract helper function to populate
IotHubConnectionString class with
proper authentication properties |
protected String policyName
protected String key
protected String token
protected abstract ProvisioningConnectionString populateWithAuthenticationProperties(ProvisioningConnectionString provisioningConnectionString)
IotHubConnectionString class with
proper authentication propertiesprovisioningConnectionString - The ProvisioningConnectionString that is
to be populated with the authentication
properties.ProvisioningConnectionString populated with the
the authentication properties.Copyright © 2021. All rights reserved.