5 references to ReqAttribute
Microsoft.AspNetCore.Authorization.Test (5)
AuthorizationMiddlewareTests.cs (5)
250var endpoint = CreateEndpoint(new AuthorizeAttribute("whatever"), new ReqAttribute(req)); 290var endpoint = CreateEndpoint(new AuthorizeAttribute("whatever"), new ReqAttribute(req)); 471var context = GetHttpContext(anonymous: true, endpoint: CreateEndpoint(new ReqAttribute(req))); 493var context = GetHttpContext(anonymous: true, endpoint: CreateEndpoint(new ReqAttribute(req, req2))); 513var context = GetHttpContext(anonymous: false, endpoint: CreateEndpoint(new AuthorizeAttribute(), new ReqAttribute(req)));