ConnectorFactoryImpl class

Extends

コンストラクター

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

メソッド

create(string, string)

コンストラクターの詳細

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

new ConnectorFactoryImpl(appId: string, toChannelFromBotOAuthScope: string, loginEndpoint: string, validateAuthority: boolean, credentialFactory: ServiceClientCredentialsFactory, connectorClientOptions?: ConnectorClientOptions)

パラメーター

appId

string

AppID。

toChannelFromBotOAuthScope

string

ボット oauth スコープからチャネルへの 。

loginEndpoint

string

ログイン URL。

validateAuthority

boolean

使用する権限の検証値。

credentialFactory
ServiceClientCredentialsFactory

使用する ServiceClientCredentialsFactory。

connectorClientOptions
ConnectorClientOptions

ConnectorClients の作成時に使用する ConnectorClientOptions。

メソッドの詳細

create(string, string)

function create(serviceUrl: string, audience?: string): Promise<ConnectorClient>

パラメーター

serviceUrl

string

クライアントのサービス URL。

audience

string

送信通信に使用する対象ユーザー。 クラウド環境によって異なります。

戻り値

Promise<ConnectorClient>

ConnectorClient クラスの新しいインスタンス。