共用方式為


BotFrameworkAuthentication.CreateConnectorFactory(ClaimsIdentity) 方法

定義

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

public abstract Microsoft.Bot.Connector.Authentication.ConnectorFactory CreateConnectorFactory (System.Security.Claims.ClaimsIdentity claimsIdentity);
abstract member CreateConnectorFactory : System.Security.Claims.ClaimsIdentity -> Microsoft.Bot.Connector.Authentication.ConnectorFactory
Public MustOverride Function CreateConnectorFactory (claimsIdentity As ClaimsIdentity) As ConnectorFactory

參數

claimsIdentity
ClaimsIdentity

Activity輸入的 ClaimsIdentity

傳回

ConnectorFactory

適用於