Partilhar via


BotFrameworkAuthenticationFactory.Create Método

Definição

Sobrecargas

Create()

Cria uma BotFrameworkAuthentication instância para cenários de teste anónimos.

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

Cria a instância adequada BotFrameworkAuthentication .

Create()

Cria uma BotFrameworkAuthentication instância para cenários de teste 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

Devoluções

Uma nova BotFrameworkAuthentication instância.

Aplica-se a

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

Cria a instância adequada 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

O Serviço de Canal.

validateAuthority
Boolean

Valide o valor de autoridade a utilizar.

toChannelFromBotLoginUrl
String

O url para Canal a partir do início de sessão do bot.

toChannelFromBotOAuthScope
String

O para Channel a partir do âmbito do bot oauth.

toBotFromChannelTokenIssuer
String

O bot a partir do Emissor de Tokens de Canal.

oAuthUrl
String

O url oAuth.

toBotFromChannelOpenIdMetadataUrl
String

O bot para a partir do URL de Metadados do ID Aberto do Canal.

toBotFromEmulatorOpenIdMetadataUrl
String

O bot para a partir do URL de Metadados Open ID do Emulador.

callerId
String

A palavra-passe da aplicação Microsoft.

credentialFactory
ServiceClientCredentialsFactory

O ServiceClientCredentialsFactory para utilizar para criar credenciais.

authConfiguration
AuthenticationConfiguration

O AuthenticationConfiguration para utilizar.

httpClientFactory
IHttpClientFactory

O IHttpClientFactory para utilizar.

logger
ILogger

O ILogger para utilizar.

Devoluções

Uma nova BotFrameworkAuthentication instância.

Aplica-se a