Partager via


BotFrameworkAuthenticationFactory.Create Méthode

Définition

Surcharges

Create()

Crée l’instance a BotFrameworkAuthentication pour les scénarios de test anonymes.

Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)

Crée l’instance appropriée BotFrameworkAuthentication .

Create()

Crée l’instance a BotFrameworkAuthentication pour les scénarios de test anonymes.

public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create ();
static member Create : unit -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create () As BotFrameworkAuthentication

Retours

Nouvelle instance de BotFrameworkAuthentication.

S’applique à

Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)

Crée l’instance appropriée BotFrameworkAuthentication .

public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create (string channelService, bool validateAuthority, string toChannelFromBotLoginUrl, string toChannelFromBotOAuthScope, string toBotFromChannelTokenIssuer, string oAuthUrl, string toBotFromChannelOpenIdMetadataUrl, string toBotFromEmulatorOpenIdMetadataUrl, string callerId, Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialFactory, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfiguration, System.Net.Http.IHttpClientFactory httpClientFactory, Microsoft.Extensions.Logging.ILogger logger);
static member Create : string * bool * string * string * string * string * string * string * string * Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create (channelService As String, validateAuthority As Boolean, toChannelFromBotLoginUrl As String, toChannelFromBotOAuthScope As String, toBotFromChannelTokenIssuer As String, oAuthUrl As String, toBotFromChannelOpenIdMetadataUrl As String, toBotFromEmulatorOpenIdMetadataUrl As String, callerId As String, credentialFactory As ServiceClientCredentialsFactory, authConfiguration As AuthenticationConfiguration, httpClientFactory As IHttpClientFactory, logger As ILogger) As BotFrameworkAuthentication

Paramètres

channelService
String

Service de canal.

validateAuthority
Boolean

Valeur d’autorité de validation à utiliser.

toChannelFromBotLoginUrl
String

à Canal à partir de l’URL de connexion du bot.

toChannelFromBotOAuthScope
String

à Canal à partir de l’étendue oauth du bot.

toBotFromChannelTokenIssuer
String

to bot de l’émetteur de jeton de canal.

oAuthUrl
String

URL oAuth.

toBotFromChannelOpenIdMetadataUrl
String

To bot à partir de l’URL des métadonnées d’open ID de canal.

toBotFromEmulatorOpenIdMetadataUrl
String

To bot à partir de l’URL des métadonnées Open ID de l’émulateur.

callerId
String

Mot de passe de l’application Microsoft.

credentialFactory
ServiceClientCredentialsFactory

ServiceClientCredentialsFactory à utiliser pour créer des informations d’identification.

httpClientFactory
IHttpClientFactory

IHttpClientFactory à utiliser.

logger
ILogger

ILogger à utiliser.

Retours

Nouvelle instance de BotFrameworkAuthentication.

S’applique à