ConnectorFactoryImpl class
- Extends
Konstruktoren
| Connector |
Methoden
| create(string, string) |
Details zum Konstruktor
ConnectorFactoryImpl(string, string, string, boolean, ServiceClientCredentialsFactory, ConnectorClientOptions)
new ConnectorFactoryImpl(appId: string, toChannelFromBotOAuthScope: string, loginEndpoint: string, validateAuthority: boolean, credentialFactory: ServiceClientCredentialsFactory, connectorClientOptions?: ConnectorClientOptions)
Parameter
- appId
-
string
Die AppID.
- toChannelFromBotOAuthScope
-
string
Der Zu-Kanal vom Bot oauth-Bereich.
- loginEndpoint
-
string
Die Anmelde-URL.
- validateAuthority
-
boolean
Der zu verwendende Überprüfungsautoritätswert.
- credentialFactory
- ServiceClientCredentialsFactory
Eine zu verwendende ServiceClientCredentialsFactory.A ServiceClientCredentialsFactory to use.
- connectorClientOptions
- ConnectorClientOptions
Die ConnectorClientOptions, die beim Erstellen von ConnectorClients verwendet werden sollen.
Details zur Methode
create(string, string)
function create(serviceUrl: string, audience?: string): Promise<ConnectorClient>
Parameter
- serviceUrl
-
string
Die Dienst-URL des Clients.
- audience
-
string
Die Zielgruppe, die für ausgehende Kommunikation verwendet werden soll. Dies variiert je nach Cloudumgebung.
Gibt zurück
Promise<ConnectorClient>
Die neue Instanz der ConnectorClient-Klasse.