DeviceAuthenticationWithToken Class

Definition

Authentication method that uses a shared access signature token.

public sealed class DeviceAuthenticationWithToken : Microsoft.Azure.Devices.Client.IAuthenticationMethod
type DeviceAuthenticationWithToken = class
    interface IAuthenticationMethod
Public NotInheritable Class DeviceAuthenticationWithToken
Implements IAuthenticationMethod
Inheritance
System.Object
DeviceAuthenticationWithToken
Implements

Constructors

DeviceAuthenticationWithToken(String, String)

Initializes a new instance of the DeviceAuthenticationWithToken class.

Properties

DeviceId

Gets or sets the device identifier.

Token

Gets or sets the security token associated with the device.

Methods

Populate(IotHubConnectionStringBuilder)

Populates an IotHubConnectionStringBuilder instance based on the properties of the current instance.

Applies to