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
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 a supplied instance based on the properties of the current instance.

Applies to