How do I re-use AuthorizationHandlers to compose a composite requirement of the two handlers?
RequirementAwith one HandlerIsAllowedAccessToA : AuthorizationHandler<RequirementA>RequirementBwith one HandlerIsAllowedAccessToB : AuthorizationHandler<RequirementB>RequirementA_OR_Bwhere if it meetsIsAllowedAccessToAorIsAllowedAccessToBit succeeds
I have resources that are only accessible to RequirementA and the same for RequirementB. I also have resources that are available to A or B.
I can't figure out how to do this without duplicating IsAllowedAccessToA and IsAllowedAccessToB handlers
This article helps but is not exactly the same use case.