34 references to CreateMiddleware
Microsoft.AspNetCore.Authorization.Test (34)
AuthorizationMiddlewareTests.cs (34)
32var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 52var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 71var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 92var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 114var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 135var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 157var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 179var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 204var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 254var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, services, logger.Object); 364var middleware = CreateMiddleware(next.Invoke, policyProvider, services, logger.Object); 398var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 432var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 470var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 492var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 512var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 534var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 552var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 572var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 593var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 615var middleware = CreateMiddleware(next.Invoke, policyProvider.Object, logger: logger.Object); 637var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 661var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 690var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 711var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 733var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 756var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 777var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 801var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 841var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 864var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 890var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 929var middleware = CreateMiddleware(next.Invoke, policyProvider.Object); 955var middleware = CreateMiddleware(next.Invoke, policyProvider.Object);