共用方式為


BotFrameworkHttpClient.AppCredentialMapCache 屬性

定義

取得 appCredentials 的快取,以加快權杖取得速度 (,除非權杖已過期,否則不會要求權杖) 。 只有在應用程式認證用來呼叫技能) 時,才會使用 appCredentials 使用 appId + 範圍 (這個最後一個參數。

protected static System.Collections.Concurrent.ConcurrentDictionary<string,Microsoft.Bot.Connector.Authentication.AppCredentials> AppCredentialMapCache { get; }
static member AppCredentialMapCache : System.Collections.Concurrent.ConcurrentDictionary<string, Microsoft.Bot.Connector.Authentication.AppCredentials>
Protected Shared ReadOnly Property AppCredentialMapCache As ConcurrentDictionary(Of String, AppCredentials)

屬性值

AppCredentials ConcurrentDictionary。

適用於