Compartir a través de


BotFrameworkAuthenticationFactory.Create Método

Definición

Sobrecargas

Create()

Crea una BotFrameworkAuthentication instancia de para escenarios de prueba anónimos.

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

Crea la instancia adecuada BotFrameworkAuthentication .

Create()

Crea una BotFrameworkAuthentication instancia de para escenarios de prueba anónimos.

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

Devoluciones

Nueva instancia de BotFrameworkAuthentication.

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

El servicio de canal.

validateAuthority
Boolean

Valor de autoridad 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

al bot del emisor de tokens de canal.

oAuthUrl
String

Dirección URL de oAuth.

toBotFromChannelOpenIdMetadataUrl
String

Al bot desde la dirección URL de metadatos del identificador abierto del canal.

toBotFromEmulatorOpenIdMetadataUrl
String

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

callerId
String

La contraseña de la aplicación de Microsoft.

credentialFactory
ServiceClientCredentialsFactory

que ServiceClientCredentialsFactory se va a usar para crear credenciales.

authConfiguration
AuthenticationConfiguration

Objeto AuthenticationConfiguration que se va a usar.

httpClientFactory
IHttpClientFactory

Objeto IHttpClientFactory que se va a usar.

logger
ILogger

Objeto ILogger que se va a usar.

Devoluciones

Nueva instancia de BotFrameworkAuthentication.

Se aplica a