4 references to RequireAuthorization
Microsoft.AspNetCore.Authorization.Test (2)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (2)
128
builder.
RequireAuthorization
(policy);
203
builder.
RequireAuthorization
(policy);
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
41
endpoints => endpoints.
RequireAuthorization
(policy1).RequireAuthorization(pb => pb.Requirements.Add(req))))
Microsoft.AspNetCore.SignalR.Tests (1)
MapSignalRTests.cs (1)
112
.
RequireAuthorization
(policy1)