1 write to ForbidCount
Microsoft.AspNetCore.Authentication.Test (1)
40 references to ForbidCount
Microsoft.AspNetCore.Authentication.Test (40)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (19)
51Assert.Equal(0, forwardDefault.ForbidCount);
60Assert.Equal(1, forwardDefault.ForbidCount);
129Assert.Equal(0, specific.ForbidCount);
134Assert.Equal(0, forwardDefault.ForbidCount);
169Assert.Equal(1, specific.ForbidCount);
174Assert.Equal(0, forwardDefault.ForbidCount);
209Assert.Equal(0, specific.ForbidCount);
214Assert.Equal(0, forwardDefault.ForbidCount);
249Assert.Equal(0, specific.ForbidCount);
254Assert.Equal(0, forwardDefault.ForbidCount);
293Assert.Equal(1, selector.ForbidCount);
304Assert.Equal(0, forwardDefault.ForbidCount);
309Assert.Equal(0, specific.ForbidCount);
348Assert.Equal(1, forwardDefault.ForbidCount);
359Assert.Equal(0, selector.ForbidCount);
364Assert.Equal(0, specific.ForbidCount);
408Assert.Equal(1, specific.ForbidCount);
419Assert.Equal(0, forwardDefault.ForbidCount);
424Assert.Equal(0, selector.ForbidCount);
SharedAuthenticationTests.cs (21)
46Assert.Equal(0, forwardDefault.ForbidCount);
55Assert.Equal(1, forwardDefault.ForbidCount);
112Assert.Equal(0, specific.ForbidCount);
117Assert.Equal(0, forwardDefault.ForbidCount);
154Assert.Equal(0, specific.ForbidCount);
159Assert.Equal(0, forwardDefault.ForbidCount);
194Assert.Equal(1, specific.ForbidCount);
199Assert.Equal(0, forwardDefault.ForbidCount);
273Assert.Equal(0, specific.ForbidCount);
278Assert.Equal(0, forwardDefault.ForbidCount);
312Assert.Equal(0, specific.ForbidCount);
317Assert.Equal(0, forwardDefault.ForbidCount);
355Assert.Equal(1, selector.ForbidCount);
381Assert.Equal(0, forwardDefault.ForbidCount);
386Assert.Equal(0, specific.ForbidCount);
424Assert.Equal(1, forwardDefault.ForbidCount);
450Assert.Equal(0, selector.ForbidCount);
455Assert.Equal(0, specific.ForbidCount);
498Assert.Equal(1, specific.ForbidCount);
524Assert.Equal(0, forwardDefault.ForbidCount);
529Assert.Equal(0, selector.ForbidCount);