BotFrameworkAdapter.BuildCredentialsAsync(String, String) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
A HttpClienthez tartozó jogkivonatok beszerzéséhez használandó objektum felépítésének AppCredentials logikája.
protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AppCredentials> BuildCredentialsAsync(string appId, string oAuthScope = default);
abstract member BuildCredentialsAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AppCredentials>
override this.BuildCredentialsAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AppCredentials>
Protected Overridable Function BuildCredentialsAsync (appId As String, Optional oAuthScope As String = Nothing) As Task(Of AppCredentials)
Paraméterek
- appId
- String
Az alkalmazás azonosítója.
- oAuthScope
- String
Az opcionális OAuth-hatókör.
Válaszok
A jogkivonatok beszerzéséhez használandó alkalmazás-hitelesítő adatok.