2 types derived from Handler
Microsoft.AspNetCore.Authentication.Core.Test (2)
AuthenticationSchemeProviderTests.cs (2)
279
private class SignInHandler :
Handler
, IAuthenticationSignInHandler
292
private class SignOutHandler :
Handler
, IAuthenticationSignOutHandler
16 references to Handler
Microsoft.AspNetCore.Authentication.Core.Test (16)
AuthenticationSchemeProviderTests.cs (16)
80
o.AddScheme<
Handler
>("foobly", "whatever");
95
o.AddScheme<
Handler
>("challenge", "whatever");
96
o.AddScheme<
Handler
>("foobly", "whatever");
136
o.AddScheme<
Handler
>("signin", "whatever");
149
o.AddScheme<
Handler
>("signin", "whatever");
150
o.AddScheme<
Handler
>("signin", "whatever");
166
Assert.True(o.TryAddScheme(new AuthenticationScheme("signin", "whatever", typeof(
Handler
))));
167
Assert.True(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(
Handler
))));
168
Assert.False(o.TryAddScheme(new AuthenticationScheme("signin", "whatever", typeof(
Handler
))));
169
Assert.True(o.TryAddScheme(new AuthenticationScheme("signin3", "whatever", typeof(
Handler
))));
170
Assert.False(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(
Handler
))));
172
Assert.True(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(
Handler
))));
180
.AddAuthenticationCore(o => o.AddScheme<
Handler
>("signin", "whatever"))
203
var scheme1 = new AuthenticationScheme("signin1", "whatever", typeof(
Handler
));
204
var scheme2 = new AuthenticationScheme("signin2", "whatever", typeof(
Handler
));
205
var scheme3 = new AuthenticationScheme("signin3", "whatever", typeof(
Handler
));