Share via


AuthenticationWithTokenRefresh(Int32, Int32) Constructor

Definition

Initializes a new instance of the AuthenticationWithTokenRefresh class.

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

Parameters

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