BotFrameworkAuthenticationFactory class
Pabrik untuk BotFrameworkAuthentication yang merangkum kode autentikasi Protokol Kerangka Kerja Bot spesifik lingkungan.
Metode
| create() | Membuat instans botFrameworkAuthentication |
| create(string, boolean, string, string, string, string, string, string, string, Service |
Membuat instans BotFrameworkAuthentication |
Detail Metode
create()
Membuat instans botFrameworkAuthentication
static function create(): BotFrameworkAuthentication
Mengembalikan
Instans BotFrameworkAuthentication
create(string, boolean, string, string, string, string, string, string, string, ServiceClientCredentialsFactory, AuthenticationConfiguration, (input: RequestInfo, init?: RequestInit) => Promise<Response>, ConnectorClientOptions)
Membuat instans 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
Parameter
- channelService
-
string
Layanan Saluran.
- validateAuthority
-
boolean
Nilai otoritas validasi untuk digunakan.
- toChannelFromBotLoginUrl
-
string
url masuk ke Saluran dari bot.
- toChannelFromBotOAuthScope
-
string
ke Saluran dari cakupan oauth bot.
- toBotFromChannelTokenIssuer
-
string
Ke bot dari Penerbit Token Saluran.
- oAuthUrl
-
string
Url OAuth.
- toBotFromChannelOpenIdMetadataUrl
-
string
ke bot dari url Metadata Id Terbuka Saluran.
- toBotFromEmulatorOpenIdMetadataUrl
-
string
Ke bot dari url Metadata Emulator Open Id.
- callerId
-
string
CallerId diatur pada aktivitas yang diautentikasi.
- credentialFactory
- ServiceClientCredentialsFactory
ServiceClientCredentialsFactory digunakan untuk membuat kredensial.
- authConfiguration
- AuthenticationConfiguration
- botFrameworkClientFetch
-
(input: RequestInfo, init?: RequestInit) => Promise<Response>
Pengambilan untuk digunakan di BotFrameworkClient.
- connectorClientOptions
- ConnectorClientOptions