共用方式為


ServiceAuthenticationWithDeviceSharedAccessPolicyToken Class

Definition

Authentication method that uses a device's shared access signature to authenticate with service.

public class ServiceAuthenticationWithDeviceSharedAccessPolicyToken : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithDeviceSharedAccessPolicyToken = class
    interface IAuthenticationMethod
Public Class ServiceAuthenticationWithDeviceSharedAccessPolicyToken
Implements IAuthenticationMethod
Inheritance
ServiceAuthenticationWithDeviceSharedAccessPolicyToken
Implements

Constructors

ServiceAuthenticationWithDeviceSharedAccessPolicyToken(String, String)

Initializes a new instance of the ServiceAuthenticationWithDeviceSharedAccessPolicyToken class.

Properties

DeviceId

Name of device

Token

Shared access signature generated using device's shared access key

Methods

Populate(IotHubConnectionStringBuilder)

Populates the builder with values needed to authenticate with device's shared access signature.

Applies to