共用方式為


IotHubConnectionCredentials.SasTokenRefresher Property

Definition

The token refresh logic to be used for clients authenticating with either an ClientAuthenticationWithTokenRefresh IAuthenticationMethod mechanism or through a shared access key value that can be used by the SDK to generate SAS tokens.

public Microsoft.Azure.Devices.Client.ClientAuthenticationWithTokenRefresh SasTokenRefresher { get; }
member this.SasTokenRefresher : Microsoft.Azure.Devices.Client.ClientAuthenticationWithTokenRefresh
Public ReadOnly Property SasTokenRefresher As ClientAuthenticationWithTokenRefresh

Property Value

Applies to