1 implementation of AllowsCachingPolicies
Microsoft.AspNetCore.Authorization (1)
DefaultAuthorizationPolicyProvider.cs (1)
77
public virtual bool
AllowsCachingPolicies
=> GetType() == typeof(DefaultAuthorizationPolicyProvider);
3 references to AllowsCachingPolicies
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
82
if (_policyProvider.
AllowsCachingPolicies
)
Microsoft.AspNetCore.Authorization.Test (2)
AuthorizationMiddlewareTests.cs (2)
244
policyProvider.Setup(p => p.
AllowsCachingPolicies
).Returns(true);
286
policyProvider.Setup(p => p.
AllowsCachingPolicies
).Returns(true);