BotFrameworkAuthenticationFactory.Create Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| Create() |
Membuat instans BotFrameworkAuthentication untuk skenario pengujian anonim. |
| Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger) |
Membuat instans yang sesuai BotFrameworkAuthentication . |
Create()
Membuat instans BotFrameworkAuthentication untuk skenario pengujian anonim.
public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create();
static member Create : unit -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create () As BotFrameworkAuthentication
Mengembalikan
Instans baru BotFrameworkAuthentication .
Berlaku untuk
Create(String, Boolean, String, String, String, String, String, String, String, ServiceClientCredentialsFactory, AuthenticationConfiguration, IHttpClientFactory, ILogger)
Membuat instans yang sesuai BotFrameworkAuthentication .
public static Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication Create(string channelService, bool validateAuthority, string toChannelFromBotLoginUrl, string toChannelFromBotOAuthScope, string toBotFromChannelTokenIssuer, string oAuthUrl, string toBotFromChannelOpenIdMetadataUrl, string toBotFromEmulatorOpenIdMetadataUrl, string callerId, Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory credentialFactory, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfiguration, System.Net.Http.IHttpClientFactory httpClientFactory, Microsoft.Extensions.Logging.ILogger logger);
static member Create : string * bool * string * string * string * string * string * string * string * Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * System.Net.Http.IHttpClientFactory * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication
Public Shared Function Create (channelService As String, validateAuthority As Boolean, toChannelFromBotLoginUrl As String, toChannelFromBotOAuthScope As String, toBotFromChannelTokenIssuer As String, oAuthUrl As String, toBotFromChannelOpenIdMetadataUrl As String, toBotFromEmulatorOpenIdMetadataUrl As String, callerId As String, credentialFactory As ServiceClientCredentialsFactory, authConfiguration As AuthenticationConfiguration, httpClientFactory As IHttpClientFactory, logger As ILogger) As 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 Open Id Emulator.
- callerId
- String
Kata sandi aplikasi Microsoft.
- credentialFactory
- ServiceClientCredentialsFactory
yang ServiceClientCredentialsFactory digunakan untuk membuat kredensial.
- authConfiguration
- AuthenticationConfiguration
yang AuthenticationConfiguration akan digunakan.
- httpClientFactory
- IHttpClientFactory
yang IHttpClientFactory akan digunakan.
Mengembalikan
Instans baru BotFrameworkAuthentication .