BotFrameworkHttpClient.BuildCredentialsAsync(String, String) Método

Definição

Lógica para criar 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

A ID do aplicativo.

oAuthScope
String

O escopo opcional do OAuth.

Retornos

As credenciais do aplicativo a serem usadas para adquirir tokens.

Aplica-se a