BotFrameworkHttpClient.AppCredentialMapCache 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取用于加快令牌获取速度的 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