BotFrameworkAuthenticationFactory.Create Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| Create() |
Crea un'istanza BotFrameworkAuthentication per scenari di test anonimi. |
| Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger) |
Crea l'istanza appropriata BotFrameworkAuthentication . |
Create()
Crea un'istanza BotFrameworkAuthentication per scenari di test anonimi.
public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create();
static member Create : unit -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create () As BotFrameworkAuthentication
Valori restituiti
Nuova istanza di BotFrameworkAuthentication.
Si applica a
Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)
Crea l'istanza appropriata 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
Parametri
- channelService
- String
Servizio canale.
- validateAuthority
- Boolean
Valore dell'autorità di convalida da usare.
- toChannelFromBotLoginUrl
- String
Da canale all'URL di accesso del bot.
- toChannelFromBotOAuthScope
- String
Da canale a dall'ambito oauth del bot.
- toBotFromChannelTokenIssuer
- String
Da bot all'autorità emittente di token del canale.
- oAuthUrl
- String
URL oAuth.
- toBotFromChannelOpenIdMetadataUrl
- String
Da bot all'URL dei metadati open id canale.
- toBotFromEmulatorOpenIdMetadataUrl
- String
Da bot all'URL dei metadati aperti dell'emulatore.
- callerId
- String
Password dell'app Microsoft.
- credentialFactory
- ServiceClientCredentialsFactory
L'uso ServiceClientCredentialsFactory per creare credenziali.
- authConfiguration
- AuthenticationConfiguration
AuthenticationConfiguration da usare.
- httpClientFactory
- IHttpClientFactory
IHttpClientFactory da usare.
Valori restituiti
Nuova istanza di BotFrameworkAuthentication.