语言

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

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

Name Description
DeviceAuthenticationWithToken(String, String)

Initializes a new instance of the DeviceAuthenticationWithToken class.

Properties

Name Description
DeviceId

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