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