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)

驗證技能的 Bot Framework 通訊協定要求。

AuthenticateRequestAsync(Activity, String, CancellationToken)

驗證 Bot Framework 通訊協定要求。

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

驗證 Bot Framework 通訊協定要求。

CreateBotFrameworkClient()

BotFrameworkClient建立用來呼叫 Skills 的 。

CreateConnectorFactory(ClaimsIdentity)

ConnectorFactory建立 ,可用來從這個特定雲端環境建立 IConnectorClient 使用認證的 。

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

建立適當的 UserTokenClient 實例。

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

產生適當的 callerId 以寫入活動,這可能是 Null。

(繼承來源 BotFrameworkAuthentication)
GetOriginatingAudience()

從 Bot OAuth 範圍取得原始物件。

適用於