Share via


BotFrameworkAuthentication.CreateConnectorFactory(ClaimsIdentity) Method

Definition

Creates a ConnectorFactory that can be used to create IConnectorClient that use credentials from this particular cloud environment.

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

Parameters

claimsIdentity
ClaimsIdentity

The inbound Activity's ClaimsIdentity.

Returns

A ConnectorFactory.

Applies to