27 references to AddAuthorization
Certificate.Optional.Sample (1)
Startup.cs (1)
34services.AddAuthorization();
Certificate.Sample (1)
Startup.cs (1)
37services.AddAuthorization();
IdentitySample.ApiEndpoints (1)
Program.cs (1)
15builder.Services.AddAuthorization();
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
89builder.Services.AddAuthorization();
Microsoft.AspNetCore.Authentication.Test (1)
AuthenticationMiddlewareTests.cs (1)
165builder.Services.AddAuthorization();
Microsoft.AspNetCore.Authorization.Policy (1)
PolicyServiceCollectionExtensions.cs (1)
21=> new AuthorizationBuilder(services.AddAuthorization());
Microsoft.AspNetCore.Authorization.Test (7)
AuthorizationAppBuilderExtensionsTests.cs (1)
69services.AddAuthorization();
AuthorizationMiddlewareTests.cs (5)
252.AddAuthorization() 292.AddAuthorization() 361.AddAuthorization() 981builder.Services.AddAuthorization(); 1041serviceCollection.AddAuthorization();
PolicyEvaluatorTests.cs (1)
162.AddAuthorization()
Microsoft.AspNetCore.Http.Connections (1)
ConnectionsDependencyInjectionExtensions.cs (1)
24services.AddAuthorization();
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3656services.AddAuthorization();
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1287builder.Services.AddAuthorization();
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (1)
128services.AddAuthorization();
Microsoft.AspNetCore.Mvc.Core.Test (1)
Authorization\AuthorizeFilterTest.cs (1)
605serviceCollection.AddAuthorization();
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
AuthorizeFilterIntegrationTest.cs (1)
179serviceCollection.AddAuthorization();
Microsoft.AspNetCore.Routing.FunctionalTests (2)
EndpointRoutingIntegrationTest.cs (2)
47services.AddAuthorization(); 79services.AddAuthorization();
Microsoft.AspNetCore.SignalR.Core (1)
SignalRDependencyInjectionExtensions.cs (1)
33services.AddAuthorization();
Microsoft.AspNetCore.SignalR.Tests (1)
Startup.cs (1)
68services.AddAuthorization();
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
2439builder.Services.AddAuthorization(); 2479builder.Services.AddAuthorization(); 2734builder.Services.AddAuthorization();
MinimalOpenIdConnectSample (1)
Program.cs (1)
11builder.Services.AddAuthorization();