次の方法で共有


ConfigurationCredentialProvider クラス

定義

注意事項

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

から資格情報を AppSettings読み込みます。

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public sealed class ConfigurationCredentialProvider : Microsoft.Bot.Connector.Authentication.SimpleCredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type ConfigurationCredentialProvider = class
    inherit SimpleCredentialProvider
Public NotInheritable Class ConfigurationCredentialProvider
Inherits SimpleCredentialProvider
継承
ConfigurationCredentialProvider
属性

注釈

これにより、アプリ設定エントリの には AppId のキー MicrosoftAppIdKey が設定され、アプリ設定の は PasswordMicrosoftAppPasswordKeyキーが設定されます。

注: キーが存在しない場合は、 null 値が使用されます。

コンストラクター

ConfigurationCredentialProvider()
古い.

ConfigurationCredentialProvider クラスの新しいインスタンスを初期化します。

ConfigurationCredentialProvider(IConfiguration)
古い.

ConfigurationCredentialProvider クラスの新しいインスタンスを初期化します。

プロパティ

AppId
古い.

この資格情報のアプリ ID を取得または設定します。

(継承元 SimpleCredentialProvider)
Password
古い.

この資格情報のアプリ パスワードを取得または設定します。

(継承元 SimpleCredentialProvider)

メソッド

GetAppPasswordAsync(String)
古い.

特定のボット アプリ ID のアプリ パスワードを取得します。

(継承元 SimpleCredentialProvider)
IsAuthenticationDisabledAsync()
古い.

ボット認証が無効になっているかどうかを確認します。

(継承元 SimpleCredentialProvider)
IsValidAppIdAsync(String)
古い.

アプリ ID を検証します。

(継承元 SimpleCredentialProvider)

適用対象