Sdílet prostřednictvím


BotFrameworkHttpClient.BuildCredentialsAsync(String, String) Metoda

Definice

Logika pro sestavení objektu, který AppCredentials se použije k získání tokenů pro tohoto klienta HttpClient.

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)

Parametry

appId
String

ID aplikace.

oAuthScope
String

Volitelný obor OAuth.

Návraty

Přihlašovací údaje aplikace, které se mají použít k získání tokenů.

Platí pro