1 write to _policyCache
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationPolicyCache.cs (1)
19
_policyCache
= new DataSourceDependentCache<ConcurrentDictionary<Endpoint, AuthorizationPolicy>>(dataSource, (_) =>
5 references to _policyCache
Microsoft.AspNetCore.Authorization.Policy (5)
AuthorizationPolicyCache.cs (5)
24
_policyCache
.EnsureInitialized();
29
_policyCache
.Value!.TryGetValue(endpoint, out var policy);
35
_policyCache
.Value![endpoint] = policy;
40
return
_policyCache
.Value!.TryAdd(endpoint, policy);
45
_policyCache
.Dispose();