16 writes to HandlerType
Microsoft.AspNetCore.Authentication (1)
AuthenticationBuilder.cs (1)
38scheme.HandlerType = typeof(THandler);
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationOptions.cs (1)
59b.HandlerType = typeof(THandler);
Microsoft.AspNetCore.Authentication.Core.Test (2)
TokenExtensionTests.cs (2)
130o.AddScheme("simple", s => s.HandlerType = typeof(SimpleAuth)); 144.AddAuthenticationCore(o => o.AddScheme("simple", s => s.HandlerType = typeof(SimpleAuth)));
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
35s.HandlerType = typeof(SkipHandler); 40s.HandlerType = typeof(ThrowsHandler); 44s.HandlerType = typeof(SixOhSevenHandler); 49s.HandlerType = typeof(ThreeOhFiveHandler);
Microsoft.AspNetCore.Identity.Test (8)
SecurityStampValidatorTest.cs (8)
64var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 86var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 144var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 185var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 226var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 263var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket); 305var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), 350var context = new CookieValidatePrincipalContext(httpContext.Object, new AuthenticationSchemeBuilder(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
3 references to HandlerType
Microsoft.AspNetCore.Authentication.Abstractions (3)
AuthenticationSchemeBuilder.cs (3)
44if (HandlerType is null) 46throw new InvalidOperationException($"{nameof(HandlerType)} must be configured to build an {nameof(AuthenticationScheme)}."); 49return new AuthenticationScheme(Name, DisplayName, HandlerType);