Språk

BotFrameworkAuthenticationFactory.Create Metod

Definition

Överlagringar

Create()

Skapar en BotFrameworkAuthentication instans för anonyma testsituationer.

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

Returer

En ny BotFrameworkAuthentication instans.

Gäller för

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

Skapar rätt BotFrameworkAuthentication instans.

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

Parametrar

channelService
String

Kanaltjänsten.

validateAuthority
Boolean

Verifiera utfärdarvärdet som ska användas.

toChannelFromBotLoginUrl
String

Url:en till kanal från robotinloggning.

toChannelFromBotOAuthScope
String

Omfånget till Kanal från robot oauth.

toBotFromChannelTokenIssuer
String

Till-roboten från utfärdaren av kanaltoken.

oAuthUrl
String

OAuth-URL:en.

toBotFromChannelOpenIdMetadataUrl
String

Till-roboten från url:en för öppna ID-metadata för kanalen.

toBotFromEmulatorOpenIdMetadataUrl
String

Url:en till-roboten från Emulatorn Öppna ID-metadata.

callerId
String

Lösenordet för Microsoft-appen.

credentialFactory
ServiceClientCredentialsFactory

Att ServiceClientCredentialsFactory använda för att skapa inloggningsuppgifter.

httpClientFactory
IHttpClientFactory

Att IHttpClientFactory använda.

logger
ILogger

Att ILogger använda.

Returer

En ny BotFrameworkAuthentication instans.

Gäller för