다음을 통해 공유


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입니다.

메서드 세부 정보

create(string, string)

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

매개 변수

serviceUrl

string

클라이언트의 서비스 URL입니다.

audience

string

아웃바운드 통신에 사용할 대상 그룹입니다. 클라우드 환경에 따라 달라집니다.

반환

Promise<ConnectorClient>

ConnectorClient 클래스의 새 인스턴스입니다.