BotFrameworkAuthenticationFactory class
Eine Factory für BotFrameworkAuthentication , die den umgebungsspezifischen Bot Framework-Protokollauthentifizierungscode kapselt.
Methoden
create() | Erstellt eine neue BotFrameworkAuthentication-Instanz für anonyme Testszenarien. |
create(string, boolean, string, string, string, string, string, string, string, Service |
Erstellt die entsprechende BotFrameworkAuthentication-Instanz . |
Details zur Methode
create()
Erstellt eine neue BotFrameworkAuthentication-Instanz für anonyme Testszenarien.
static function create(): BotFrameworkAuthentication
Gibt zurück
Eine neue BotFrameworkAuthentication-Instanz .
create(string, boolean, string, string, string, string, string, string, string, ServiceClientCredentialsFactory, AuthenticationConfiguration, (input: RequestInfo, init?: RequestInit) => Promise<Response>, ConnectorClientOptions)
Erstellt die entsprechende BotFrameworkAuthentication-Instanz .
static function create(channelService: string, validateAuthority: boolean, toChannelFromBotLoginUrl: string, toChannelFromBotOAuthScope: string, toBotFromChannelTokenIssuer: string, oAuthUrl: string, toBotFromChannelOpenIdMetadataUrl: string, toBotFromEmulatorOpenIdMetadataUrl: string, callerId: string, credentialFactory: ServiceClientCredentialsFactory, authConfiguration: AuthenticationConfiguration, botFrameworkClientFetch?: (input: RequestInfo, init?: RequestInit) => Promise<Response>, connectorClientOptions?: ConnectorClientOptions): BotFrameworkAuthentication
Parameter
- channelService
-
string
Der Kanaldienst.
- validateAuthority
-
boolean
Der zu verwendende Wert der Validierungsautorität.
- toChannelFromBotLoginUrl
-
string
Die zum Kanal von Bot-Anmelde-URL.
- toChannelFromBotOAuthScope
-
string
Der oauth-Bereich zum Kanal von Bot.
- toBotFromChannelTokenIssuer
-
string
Der an bot vom Kanaltokenaussteller.
- oAuthUrl
-
string
Die OAuth-URL.
- toBotFromChannelOpenIdMetadataUrl
-
string
Die url für den Bot von Open ID-Metadaten des Kanals.
- toBotFromEmulatorOpenIdMetadataUrl
-
string
Die URL für den Bot von Open ID Metadata des Emulators.
- callerId
-
string
Die callerId, die für authentifizierte Aktivitäten auf festgelegt ist.
- credentialFactory
- ServiceClientCredentialsFactory
Die ServiceClientCredentialsFactory , die zum Erstellen von Anmeldeinformationen verwendet werden soll.
- authConfiguration
- AuthenticationConfiguration
- botFrameworkClientFetch
-
(input: RequestInfo, init?: RequestInit) => Promise<Response>
Der in BotFrameworkClient zu verwendende Abruf.
- connectorClientOptions
- ConnectorClientOptions
Die ConnectorClientOptions , die beim Erstellen von ConnectorClients verwendet werden sollen.