ConfigurationBotFrameworkAuthentication 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从配置创建 BotFrameworkAuthentication 实例。
public class ConfigurationBotFrameworkAuthentication : Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
type ConfigurationBotFrameworkAuthentication = class
inherit BotFrameworkAuthentication
Public Class ConfigurationBotFrameworkAuthentication
Inherits BotFrameworkAuthentication
- 继承
构造函数
方法
| 名称 | 说明 |
|---|---|
| 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) |
生成相应的调用ID,用于写入活动,这可能是空的。 (继承自 BotFrameworkAuthentication) |
| GetOriginatingAudience() |
获取来自 Bot OAuth 范围的发起受众。 |