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)

属性值

AppCredentialsConcurrentDictionary。

适用于