ModuleAuthenticationWithToken Class

Definition

Authentication method that uses a shared access signature token.

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

Constructors

ModuleAuthenticationWithToken(String, String, String)

Initializes a new instance of the ModuleAuthenticationWithToken class.

Properties

DeviceId

Gets or sets the device identifier.

ModuleId

Gets or sets the module 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