ClientAuthenticationWithSharedAccessKeyRefresh クラス

定義

指定された共有アクセス キー (SAK) に基づいて、更新を使用して共有アクセス署名 (SAS) トークンを生成する認証方法。

public class ClientAuthenticationWithSharedAccessKeyRefresh : Microsoft.Azure.Devices.Client.ClientAuthenticationWithTokenRefresh
type ClientAuthenticationWithSharedAccessKeyRefresh = class
    inherit ClientAuthenticationWithTokenRefresh
Public Class ClientAuthenticationWithSharedAccessKeyRefresh
Inherits ClientAuthenticationWithTokenRefresh
継承
ClientAuthenticationWithSharedAccessKeyRefresh

コンストラクター

ClientAuthenticationWithSharedAccessKeyRefresh(String, String, String, String, TimeSpan, Int32)

このクラスのインスタンスを作成します。

ClientAuthenticationWithSharedAccessKeyRefresh(String, String, String, TimeSpan, Int32)

このクラスのインスタンスを作成します。

ClientAuthenticationWithSharedAccessKeyRefresh(String, TimeSpan, Int32)

このクラスのインスタンスを作成します。

プロパティ

DeviceId

デバイス ID を取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
ExpiresOnUtc

UTC トークンの有効期限のスナップショットを取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
IsExpiring

スナップショットの有効期限の状態を取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
ModuleId

モジュール ID を取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
RefreshesOnUtc

UTC トークンの更新時刻のスナップショットを取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
SharedAccessKey

共有アクセス キーを取得します。

SharedAccessKeyName

共有アクセス キー名を取得します。

メソッド

GetTokenAsync(String)

デバイスに関連付けられているセキュリティ トークンのスナップショットを取得します。

(継承元 ClientAuthenticationWithTokenRefresh)
Populate(IotHubConnectionCredentials)

現在のインスタンスのIotHubConnectionCredentialsプロパティのスナップショットに基づいてインスタンスを設定します。

SafeCreateNewTokenAsync(String, TimeSpan)

提案された TTL を使用して新しいトークンを作成します。

適用対象