Share via


DeviceAuthenticationWithTokenRefresh Constructors

Definition

Overloads

DeviceAuthenticationWithTokenRefresh(String)

Initializes a new instance of the DeviceAuthenticationWithTokenRefresh class using default TTL and TTL buffer time settings.

DeviceAuthenticationWithTokenRefresh(String, Int32, Int32)

Initializes a new instance of the DeviceAuthenticationWithTokenRefresh class.

DeviceAuthenticationWithTokenRefresh(String)

Initializes a new instance of the DeviceAuthenticationWithTokenRefresh class using default TTL and TTL buffer time settings.

public DeviceAuthenticationWithTokenRefresh(string deviceId);
new Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh : string -> Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh
Public Sub New (deviceId As String)

Parameters

deviceId
System.String

Device Identifier.

Applies to

DeviceAuthenticationWithTokenRefresh(String, Int32, Int32)

Initializes a new instance of the DeviceAuthenticationWithTokenRefresh class.

public DeviceAuthenticationWithTokenRefresh(string deviceId, int suggestedTimeToLiveSeconds, int timeBufferPercentage);
new Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh : string * int * int -> Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh
Public Sub New (deviceId As String, suggestedTimeToLiveSeconds As Integer, timeBufferPercentage As Integer)

Parameters

deviceId
System.String

Device Identifier.

suggestedTimeToLiveSeconds
System.Int32

Token time to live suggested value. The implementations of this abstract may choose to ignore this value.

timeBufferPercentage
System.Int32

Time buffer before expiry when the token should be renewed expressed as a percentage of the time to live.

Applies to