Idioma

BotFrameworkAdapter.BuildCredentialsAsync(String, String) Método

Definição

Lógica para construir um AppCredentials objeto a ser usado para adquirir tokens para este 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)

Parâmetros

appId
String

O id do aplicativo.

oAuthScope
String

A mira OAuth opcional.

Devoluções

As credenciais da aplicação devem ser usadas para adquirir tokens.

Aplica-se a