DefaultAuthorizationPolicyProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default implementation of a policy provider, which provides a AuthorizationPolicy for a particular name.
public ref class DefaultAuthorizationPolicyProvider : Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider
public class DefaultAuthorizationPolicyProvider : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider
type DefaultAuthorizationPolicyProvider = class
interface IAuthorizationPolicyProvider
Public Class DefaultAuthorizationPolicyProvider
Implements IAuthorizationPolicyProvider
- Inheritance
-
DefaultAuthorizationPolicyProvider
- Implements
Constructors
DefaultAuthorizationPolicyProvider(IOptions<AuthorizationOptions>) |
Creates a new instance of DefaultAuthorizationPolicyProvider. |
Properties
AllowsCachingPolicies |
Determines if policies from this provider can be cached, which is true only for this type. |
Methods
GetDefaultPolicyAsync() |
Gets the default authorization policy. |
GetFallbackPolicyAsync() |
Gets the fallback authorization policy. |
GetPolicyAsync(String) |
Gets a AuthorizationPolicy from the given |