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

チャネル トークン発行者からボットへの 。

oAuthUrl

string

OAuth URL。

toBotFromChannelOpenIdMetadataUrl

string

Channel Open Id メタデータ URL からボットに対する 。

toBotFromEmulatorOpenIdMetadataUrl

string

エミュレーターの Open Id メタデータ URL からボットに対する 。

callerId

string

認証済み アクティビティで に設定された callerId。

credentialFactory
ServiceClientCredentialsFactory

資格情報の作成に使用する ServiceClientCredentialsFactory

authConfiguration
AuthenticationConfiguration

使用する AuthenticationConfiguration

botFrameworkClientFetch

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

BotFrameworkClient で使用するフェッチ。

connectorClientOptions
ConnectorClientOptions

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

戻り値