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)

適用対象