Share via


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

Name Description
ServiceAuthenticationWithDeviceSharedAccessPolicyToken(String, String)

Initializes a new instance of the ServiceAuthenticationWithDeviceSharedAccessPolicyToken class.

Properties

Name Description
DeviceId

Name of device

Token

Shared access signature generated using device's shared access key

Methods

Name Description
Populate(IotHubConnectionStringBuilder)

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

Applies to