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
| 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 Wert der Validierungsautorität.
- toChannelFromBotLoginUrl
- String
Die url für die Anmeldung zum Kanal von Bot.
- toChannelFromBotOAuthScope
- String
Der zu Kanal aus bot-oauth-Bereich.
- toBotFromChannelTokenIssuer
- String
Der bot vom Kanaltokenaussteller.
- oAuthUrl
- String
Die oAuth-URL.
- toBotFromChannelOpenIdMetadataUrl
- String
Die Url für bot aus Den Metadaten für Kanal öffnende ID.
- toBotFromEmulatorOpenIdMetadataUrl
- String
Die URL zum Bot aus emulator open ID Metadata.
- callerId
- String
Das Microsoft-App-Kennwort.
- credentialFactory
- ServiceClientCredentialsFactory
Der ServiceClientCredentialsFactory , der zum Erstellen von Anmeldeinformationen verwendet werden soll.
- authConfiguration
- AuthenticationConfiguration
Der zu verwendende AuthenticationConfiguration.
- httpClientFactory
- IHttpClientFactory
Der zu verwendende IHttpClientFactory.
Gibt zurück
Eine neue BotFrameworkAuthentication-Instanz.