共用方式為


BotFrameworkAuthentication 類別

定義

代表用來在此環境中驗證 Bot Framework 通訊協定網路呼叫的雲端環境。

public abstract class BotFrameworkAuthentication
type BotFrameworkAuthentication = class
Public MustInherit Class BotFrameworkAuthentication
繼承
BotFrameworkAuthentication
衍生

建構函式

BotFrameworkAuthentication()

代表用來在此環境中驗證 Bot Framework 通訊協定網路呼叫的雲端環境。

方法

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。

GetOriginatingAudience()

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

適用於