BotFrameworkHttpClient.BuildCredentialsAsync(String, String) メソッド

定義

この HttpClient のトークンを AppCredentials 取得するために使用するオブジェクトを構築するロジック。

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)

パラメーター

appId
String

アプリケーション ID。

oAuthScope
String

オプションの OAuth スコープ。

戻り値

トークンの取得に使用するアプリの資格情報。

適用対象