ServiceAuthenticationWithSharedAccessPolicyKey Class

Definition

Authentication method that uses a shared access policy key.

public sealed class ServiceAuthenticationWithSharedAccessPolicyKey : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithSharedAccessPolicyKey = class
    interface IAuthenticationMethod
Public NotInheritable Class ServiceAuthenticationWithSharedAccessPolicyKey
Implements IAuthenticationMethod
Inheritance
ServiceAuthenticationWithSharedAccessPolicyKey
Implements

Constructors

ServiceAuthenticationWithSharedAccessPolicyKey(String, String)

Initializes a new instance of the ServiceAuthenticationWithSharedAccessPolicyKey class.

Properties

Key

The shared access key value.

PolicyName

The shared access policy name.

Methods

Populate(IotHubConnectionStringBuilder)

Populates the builder with values needed to authenticate with shared access policy key.

Applies to