BotFrameworkAdapter.BuildCredentialsAsync(String, String) Metódus

Definíció

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.

A következőre érvényes: