BotFrameworkAuthentication 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表用來在此環境中驗證 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 範圍取得原始物件。 |