ConfigurationBotFrameworkAuthentication 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從設定建立 BotFrameworkAuthentication 實例。
public class ConfigurationBotFrameworkAuthentication : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
type ConfigurationBotFrameworkAuthentication = class
inherit BotFrameworkAuthentication
Public Class ConfigurationBotFrameworkAuthentication
Inherits BotFrameworkAuthentication
- 繼承
建構函式
方法
| 名稱 | Description |
|---|---|
| AuthenticateChannelRequestAsync(String, CancellationToken) |
將機器人框架協議請求驗證給技能。 |
| AuthenticateRequestAsync(Activity, String, CancellationToken) |
驗證 Bot Framework 通訊協定要求。 |
| AuthenticateStreamingRequestAsync(String, String, CancellationToken) |
驗證 Bot Framework 通訊協定要求。 |
| CreateBotFrameworkClient() |
創造一個 BotFrameworkClient 用於呼叫技能的用途。 |
| CreateConnectorFactory(ClaimsIdentity) |
建立 ConnectorFactory 一個可以用來建立 IConnectorClient 該憑證的雲端環境憑證。 |
| CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken) |
建立適當的 UserTokenClient 實例。 |
| GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken) |
產生適當的 callerID 來寫入活動,這可能是 null。 (繼承來源 BotFrameworkAuthentication) |
| GetOriginatingAudience() |
從 Bot OAuth 範圍取得原始物件。 |