BotFrameworkAuthenticationFactory.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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 apropriada 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
Retornos
Uma nova instância de BotFrameworkAuthentication.
Aplica-se a
Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)
Cria a instância apropriada 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
O valor de autoridade de validação a ser usado.
- toChannelFromBotLoginUrl
- String
O para o Canal da URL de logon do bot.
- toChannelFromBotOAuthScope
- String
O para o Canal do escopo do bot oauth.
- toBotFromChannelTokenIssuer
- String
O para bot do Emissor do Token de Canal.
- oAuthUrl
- String
A URL oAuth.
- toBotFromChannelOpenIdMetadataUrl
- String
O para bot da URL de Metadados de ID aberta do Canal.
- toBotFromEmulatorOpenIdMetadataUrl
- String
O para bot da URL de Metadados do Emulador Open ID.
- callerId
- String
A senha do aplicativo Microsoft.
- credentialFactory
- ServiceClientCredentialsFactory
O ServiceClientCredentialsFactory a ser usado para criar credenciais.
- authConfiguration
- AuthenticationConfiguration
O AuthenticationConfiguration a ser usado.
- httpClientFactory
- IHttpClientFactory
O IHttpClientFactory a ser usado.
Retornos
Uma nova instância de BotFrameworkAuthentication.