Freigeben über


BotFrameworkHttpClient.AppCredentialMapCache Eigenschaft

Definition

Ruft den Cache für appCredentials ab, um den Tokenerwerb zu beschleunigen (ein Token wird nur angefordert, wenn abgelaufen ist). AppCredentials werden mit appId + scope zwischengespeichert (dieser letzte Parameter wird nur verwendet, wenn die App-Anmeldeinformationen zum Aufrufen einer Qualifikation 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 von AppCredentials.

Gilt für: