Langue

BotFrameworkAuthenticationFactory.Create Méthode

Définition

Surcharges

Create()

Crée une BotFrameworkAuthentication instance pour des 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 BotFrameworkAuthentication instance.

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 de l’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

Bot à partir de l’émetteur de jeton de canal.

oAuthUrl
String

URL oAuth.

toBotFromChannelOpenIdMetadataUrl
String

Url des métadonnées d’OPEN ID de canal à partir du bot.

toBotFromEmulatorOpenIdMetadataUrl
String

Url des métadonnées open ID de l’émulateur.

callerId
String

Mot de passe de l’application Microsoft.

credentialFactory
ServiceClientCredentialsFactory

L’utilisation ServiceClientCredentialsFactory pour créer des identifiants.

httpClientFactory
IHttpClientFactory

IHttpClientFactory à utiliser.

logger
ILogger

ILogger à utiliser.

Retours

Nouvelle BotFrameworkAuthentication instance.

S’applique à