diff --git a/aspnetcore/security/authorization/resourcebased.md b/aspnetcore/security/authorization/resourcebased.md index a885ffe73978..c78182535e85 100644 --- a/aspnetcore/security/authorization/resourcebased.md +++ b/aspnetcore/security/authorization/resourcebased.md @@ -77,7 +77,7 @@ Writing a handler for resource based authorization is not that much different to ```csharp public class DocumentAuthorizationHandler : AuthorizationHandler { - public override Task HandleRequirementAsync(AuthorizationHandlerContext context, + protected override Task HandleRequirementAsync(AuthorizationHandlerContext context, MyRequirement requirement, Document resource) {