BotFrameworkAuthenticationFactory.Create Método

Definición

Sobrecargas

Create()

Crea una BotFrameworkAuthentication instancia para escenarios de pruebas anónimas.

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

Devoluciones

BotFrameworkAuthentication Nueva instancia.

Se aplica a

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

Crea la instancia adecuada 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

Parámetros

channelService
String

Servicio de canal.

validateAuthority
Boolean

Valor de la entidad de validación que se va a usar.

toChannelFromBotLoginUrl
String

al canal desde la dirección URL de inicio de sesión del bot.

toChannelFromBotOAuthScope
String

al canal desde el ámbito de oauth del bot.

toBotFromChannelTokenIssuer
String

que se va a bot del emisor de tokens de canal.

oAuthUrl
String

Dirección URL de oAuth.

toBotFromChannelOpenIdMetadataUrl
String

que se va a bot desde la dirección URL de metadatos del identificador abierto del canal.

toBotFromEmulatorOpenIdMetadataUrl
String

para bot desde la dirección URL de metadatos del identificador abierto del emulador.

callerId
String

Contraseña de la aplicación de Microsoft.

credentialFactory
ServiceClientCredentialsFactory

El ServiceClientCredentialsFactory uso para crear credenciales.

authConfiguration
AuthenticationConfiguration

El AuthenticationConfiguration que se va a usar.

httpClientFactory
IHttpClientFactory

El IHttpClientFactory que se va a usar.

logger
ILogger

El ILogger que se va a usar.

Devoluciones

BotFrameworkAuthentication Nueva instancia.

Se aplica a