IAuthorizationPolicyProvider Interface

Definition

A type which can provide a AuthorizationPolicy for a particular name.

C#
public interface IAuthorizationPolicyProvider
Derived

Properties

AllowsCachingPolicies

Determines if policies from this provider can be cached, defaults to false.

Methods

GetDefaultPolicyAsync()

Gets the default authorization policy.

GetFallbackPolicyAsync()

Gets the fallback authorization policy.

GetPolicyAsync(String)

Gets a AuthorizationPolicy from the given policyName

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0