语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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

Name Description
ModuleAuthenticationWithToken(String, String, String)

Initializes a new instance of this class.

Properties

Name Description
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

Name Description
Populate(IotHubConnectionStringBuilder)

Populates a supplied instance based on the properties of the current instance.

Applies to