Sprache

BotFrameworkHttpClient.AppCredentialMapCache Eigenschaft

Definition

Ruft den Cache für appCredentials ab, um den Tokenerwerb zu beschleunigen (ein Token wird nur angefordert, wenn es abgelaufen ist). AppCredentials werden mit appId + Scope zwischengespeichert (dieser letzte Parameter wird nur verwendet, wenn die App-Anmeldeinformationen zum Aufrufen einer Fähigkeit verwendet werden).

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)

Eigenschaftswert

ConcurrentDictionary of AppCredentials.

Gilt für: