共用方式為


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
ModuleAuthenticationWithToken
Implements

Constructors

ModuleAuthenticationWithToken(String, String, String)

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

Applies to