ConfigurationServiceClientCredentialFactory クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
を使用 IConfiguration してアプリの資格情報を参照する資格情報プロバイダー。
public class ConfigurationServiceClientCredentialFactory : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory
type ConfigurationServiceClientCredentialFactory = class
inherit ServiceClientCredentialsFactory
Public Class ConfigurationServiceClientCredentialFactory
Inherits ServiceClientCredentialsFactory
- 継承
注釈
これにより、 のキーMicrosoftAppIdKeyが構成エントリから に設定されPassword、構成エントリから の キーMicrosoftAppPasswordKeyが に設定AppIdされます。
注: キーが存在しない場合は、 null
値が使用されます。
コンストラクター
ConfigurationServiceClientCredentialFactory(IConfiguration, HttpClient, ILogger) |
ConfigurationServiceClientCredentialFactory クラスの新しいインスタンスを初期化します。 |
メソッド
CreateCredentialsAsync(String, String, String, Boolean, CancellationToken) |
ServiceClientCredentials を作成するためのファクトリ メソッド。 |
IsAuthenticationDisabledAsync(CancellationToken) |
ボット認証が無効になっているかどうかを確認します。 |
IsValidAppIdAsync(String, CancellationToken) |
アプリ ID を検証します。 |