3 references to RequireUserName
Microsoft.AspNetCore.Authorization.Test (3)
DefaultAuthorizationServiceTests.cs (3)
491services.AddAuthorizationBuilder().AddPolicy("Hao", policy => policy.RequireUserName("Hao"))); 515options.AddPolicy("Hao", policy => policy.RequireUserName("Hao")); 541options.AddPolicy("Hao", policy => policy.RequireUserName("Hao"));