다음을 통해 공유


BotFrameworkAuthenticationFactory class

환경별 Bot Framework 프로토콜 인증 코드를 캡슐화하는 BotFrameworkAuthentication 팩터리입니다.

메서드

create()

익명 테스트 시나리오에 대한 새 BotFrameworkAuthentication 인스턴스를 만듭니다.

create(string, boolean, string, string, string, string, string, string, string, ServiceClientCredentialsFactory, AuthenticationConfiguration, (input: RequestInfo, init?: RequestInit) => Promise<Response>, ConnectorClientOptions)

적절한 BotFrameworkAuthentication 인스턴스를 만듭니다.

메서드 세부 정보

create()

익명 테스트 시나리오에 대한 새 BotFrameworkAuthentication 인스턴스를 만듭니다.

static function create(): BotFrameworkAuthentication

반환

BotFrameworkAuthentication 인스턴스입니다.

create(string, boolean, string, string, string, string, string, string, string, ServiceClientCredentialsFactory, AuthenticationConfiguration, (input: RequestInfo, init?: RequestInit) => Promise<Response>, ConnectorClientOptions)

적절한 BotFrameworkAuthentication 인스턴스를 만듭니다.

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

매개 변수

channelService

string

채널 서비스입니다.

validateAuthority

boolean

사용할 유효성 검사 기관 값입니다.

toChannelFromBotLoginUrl

string

봇 로그인 URL에서 채널로.

toChannelFromBotOAuthScope

string

봇 oauth 범위에서 채널로.

toBotFromChannelTokenIssuer

string

채널 토큰 발급자의 to 봇입니다.

oAuthUrl

string

OAuth URL입니다.

toBotFromChannelOpenIdMetadataUrl

string

채널 열기 ID 메타데이터 URL의 to 봇입니다.

toBotFromEmulatorOpenIdMetadataUrl

string

에뮬레이터 Open Id 메타데이터 URL의 to 봇입니다.

callerId

string

인증된 활동설정된 callerId입니다.

botFrameworkClientFetch

(input: RequestInfo, init?: RequestInit) => Promise<Response>

BotFrameworkClient에서 사용할 페치입니다.

반환