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 Überprüfungsautoritätswert.
- toChannelFromBotLoginUrl
-
string
The to Channel from bot login url.
- 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
Die callerId, die für authentifizierte Aktivitätenfestgelegt ist.
- credentialFactory
- ServiceClientCredentialsFactory
Die ServiceClientCredentialsFactory- zum Erstellen von Anmeldeinformationen.
- authConfiguration
- AuthenticationConfiguration
Die zu verwendende AuthenticationConfiguration-.
- botFrameworkClientFetch
-
(input: RequestInfo, init?: RequestInit) => Promise<Response>
Der Abruf, der in BotFrameworkClient verwendet werden soll.
- connectorClientOptions
- ConnectorClientOptions
Die ConnectorClientOptions, die beim Erstellen von ConnectorClients verwendet werden sollen.