语言

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

适用于