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