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 IotHubConnectionString |
populate(IotHubConnectionString iotHubConnectionStringBuilder)
Abstract helper function to populate
IotHubConnectionString class with
proper authentication properties |
protected String policyName
protected String key
protected String token
protected abstract IotHubConnectionString populate(IotHubConnectionString iotHubConnectionStringBuilder)
IotHubConnectionString class with
proper authentication propertiesiotHubConnectionStringBuilder - The IotHubConnectionString that is
to be populated with the authentication
properties.IotHubConnectionString populated with the
the authentication properties.Copyright © 2022. All rights reserved.