AuthenticationWithTokenRefresh(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.