BotFrameworkAuthenticationFactory.Create Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Create() |
BotFrameworkAuthentication Tworzy wystąpienie na potrzeby scenariuszy testowania anonimowego. |
| Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger) |
Tworzy odpowiednie BotFrameworkAuthentication wystąpienie. |
Create()
BotFrameworkAuthentication Tworzy wystąpienie na potrzeby scenariuszy testowania anonimowego.
public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create();
static member Create : unit -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create () As BotFrameworkAuthentication
Zwraca
Nowe BotFrameworkAuthentication wystąpienie.
Dotyczy
Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)
Tworzy odpowiednie BotFrameworkAuthentication wystąpienie.
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
Parametry
- channelService
- String
Usługa kanału.
- validateAuthority
- Boolean
Wartość walidowania urzędu do użycia.
- toChannelFromBotLoginUrl
- String
Adres URL logowania bota do kanału.
- toChannelFromBotOAuthScope
- String
Do kanału z zakresu oauth bota.
- toBotFromChannelTokenIssuer
- String
Element do bota z wystawcy tokenu kanału.
- oAuthUrl
- String
Adres URL protokołu oAuth.
- toBotFromChannelOpenIdMetadataUrl
- String
Element do bota z adresu URL metadanych otwierania identyfikatora kanału.
- toBotFromEmulatorOpenIdMetadataUrl
- String
Element do bota z adresu URL metadanych otwierania identyfikatora emulatora.
- callerId
- String
Hasło aplikacji firmy Microsoft.
- credentialFactory
- ServiceClientCredentialsFactory
Element ServiceClientCredentialsFactory do użycia do tworzenia poświadczeń.
- authConfiguration
- AuthenticationConfiguration
Do AuthenticationConfiguration użycia.
- httpClientFactory
- IHttpClientFactory
Do IHttpClientFactory użycia.
Zwraca
Nowe BotFrameworkAuthentication wystąpienie.