1 write to AuthenticationSchemes
Microsoft.AspNetCore.Authorization (1)
34 references to AuthenticationSchemes
Aspire.Dashboard (6)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Authorization.Policy (13)
Microsoft.AspNetCore.Authorization.Test (12)
AuthorizationPolicyFacts.cs (12)
37Assert.Equal(2, combined.AuthenticationSchemes.Count());
38Assert.Contains("dupe", combined.AuthenticationSchemes);
39Assert.Contains("roles", combined.AuthenticationSchemes);
87Assert.Equal(2, combined.AuthenticationSchemes.Count());
88Assert.Contains("dupe", combined.AuthenticationSchemes);
89Assert.Contains("default", combined.AuthenticationSchemes);
131Assert.Equal(2, combined.AuthenticationSchemes.Count());
132Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a1"));
133Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a2"));
151Assert.Equal(2, combined.AuthenticationSchemes.Count());
152Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a1"));
153Assert.Contains(combined.AuthenticationSchemes, a => a.Equals("a2"));
Microsoft.AspNetCore.Mvc.Core (2)