次の方法で共有


ConfigurationBotFrameworkAuthentication クラス

定義

構成からインスタンスを BotFrameworkAuthentication 作成します。

public class ConfigurationBotFrameworkAuthentication : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
type ConfigurationBotFrameworkAuthentication = class
    inherit BotFrameworkAuthentication
Public Class ConfigurationBotFrameworkAuthentication
Inherits BotFrameworkAuthentication
継承
ConfigurationBotFrameworkAuthentication

コンストラクター

ConfigurationBotFrameworkAuthentication(IConfiguration, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)

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

メソッド

AuthenticateChannelRequestAsync(String, CancellationToken)

Skills に対する Bot Framework プロトコル要求を認証します。

AuthenticateRequestAsync(Activity, String, CancellationToken)

Bot Framework プロトコル要求を検証します。

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Bot Framework プロトコル要求を検証します。

CreateBotFrameworkClient()

Skills の BotFrameworkClient 呼び出しに使用される を作成します。

CreateConnectorFactory(ClaimsIdentity)

この特定の ConnectorFactory クラウド環境から資格情報を使用する を作成するために使用できる を作成 IConnectorClient します。

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

適切な UserTokenClient インスタンスを作成します。

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

アクティビティに書き込む適切な callerId を生成します。これは null である可能性があります。

(継承元 BotFrameworkAuthentication)
GetOriginatingAudience()

Bot OAuth スコープから発信元の対象ユーザーを取得します。

適用対象