Freigeben über


ConnectorFactoryImpl class

Extends

Konstruktoren

ConnectorFactoryImpl(string, string, string, boolean, ServiceClientCredentialsFactory, ConnectorClientOptions)

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 aus bot-oauth-Bereich.

loginEndpoint

string

Die Anmelde-URL.

validateAuthority

boolean

Der zu verwendende Wert der Validierungsautorität.

credentialFactory
ServiceClientCredentialsFactory

Eine zu verwendende ServiceClientCredentialsFactory.

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.