Delen via


BotFrameworkAuthenticationFactory.Create Methode

Definitie

Overloads

Create()

Hiermee maakt u een BotFrameworkAuthentication exemplaar voor anonieme testscenario's.

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

Hiermee maakt u het juiste BotFrameworkAuthentication exemplaar.

Create()

Hiermee maakt u een BotFrameworkAuthentication exemplaar voor anonieme testscenario's.

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

Retouren

Een nieuw BotFrameworkAuthentication exemplaar.

Van toepassing op

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

Hiermee maakt u het juiste BotFrameworkAuthentication exemplaar.

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

Parameters

channelService
String

De Kanaalservice.

validateAuthority
Boolean

De waarde van de instantie valideren die moet worden gebruikt.

toChannelFromBotLoginUrl
String

De aanmeldings-URL van naar kanaal van bot.

toChannelFromBotOAuthScope
String

Het naar-kanaal van het oauth-bereik van de bot.

toBotFromChannelTokenIssuer
String

De to-bot van de verlener van het kanaaltoken.

oAuthUrl
String

De oAuth-URL.

toBotFromChannelOpenIdMetadataUrl
String

De naar-bot van de URL voor metagegevens van kanaalopener-id.

toBotFromEmulatorOpenIdMetadataUrl
String

De naar bot van de Url voor open-id-metagegevens van de emulator.

callerId
String

Het wachtwoord van de Microsoft-app.

credentialFactory
ServiceClientCredentialsFactory

De ServiceClientCredentialsFactory die moet worden gebruikt om referenties te maken.

authConfiguration
AuthenticationConfiguration

De AuthenticationConfiguration te gebruiken.

httpClientFactory
IHttpClientFactory

De IHttpClientFactory te gebruiken.

logger
ILogger

De ILogger te gebruiken.

Retouren

Een nieuw BotFrameworkAuthentication exemplaar.

Van toepassing op