Class PolicyAuthorizationHandler
Validates whether the current context user meets at least one policy of a provided
PolicyAuthorizationRequirement instance.
Inheritance
Microsoft.AspNetCore.Authorization.AuthorizationHandler<PolicyAuthorizationRequirement>
PolicyAuthorizationHandler
Namespace: XploRe.AspNetCore.Authorization
Assembly: XploRe.AspNetCore.Authorization.dll
Syntax
public class PolicyAuthorizationHandler : AuthorizationHandler<PolicyAuthorizationRequirement>
Constructors
Name | Description |
---|---|
PolicyAuthorizationHandler(IServiceProvider) | Initialises a new PolicyAuthorizationHandler instance. |
Methods
Name | Description |
---|---|
HandleRequirementAsync(AuthorizationHandlerContext, PolicyAuthorizationRequirement) |