BotFrameworkAuthenticationFactory.Create Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| Create() |
Erstellt eine BotFrameworkAuthentication Instanz für anonyme Testszenarien. |
| Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger) |
Erstellt die entsprechende BotFrameworkAuthentication Instanz. |
Create()
Erstellt eine BotFrameworkAuthentication Instanz für anonyme Testszenarien.
public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create();
static member Create : unit -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create () As BotFrameworkAuthentication
Gibt zurück
Eine neue BotFrameworkAuthentication Instanz.
Gilt für:
Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)
Erstellt die entsprechende BotFrameworkAuthentication Instanz.
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
Parameter
- channelService
- String
Der Kanaldienst.
- validateAuthority
- Boolean
Der zu verwendende Überprüfungsautoritätswert.
- toChannelFromBotLoginUrl
- String
Die URL zum Kanal vom Bot-Login.
- toChannelFromBotOAuthScope
- String
Der Zu-Kanal vom Bot oauth-Bereich.
- toBotFromChannelTokenIssuer
- String
Der Zu-Bot vom Kanaltokenherausgeber.
- oAuthUrl
- String
Die oAuth-URL.
- toBotFromChannelOpenIdMetadataUrl
- String
Die URL "Zu Bot" von "Kanal öffnen"-ID-Metadaten.
- toBotFromEmulatorOpenIdMetadataUrl
- String
Die URL "Zu Bot" aus dem Emulator "Id-Metadaten öffnen".
- callerId
- String
Das Microsoft-App-Kennwort.
- credentialFactory
- ServiceClientCredentialsFactory
Das, ServiceClientCredentialsFactory um Zugangsdaten zu erstellen.
- authConfiguration
- AuthenticationConfiguration
Die zu verwendende AuthenticationConfiguration.
- httpClientFactory
- IHttpClientFactory
Die zu verwendende IHttpClientFactory.
Gibt zurück
Eine neue BotFrameworkAuthentication Instanz.