12 references to SignInManager
Microsoft.AspNetCore.Identity.Test (12)
IdentityBuilderTest.cs (1)
396
public MySignInManager(UserManager<PocoUser> manager, IHttpContextAccessor context, IUserClaimsPrincipalFactory<PocoUser> claimsFactory) :
base
(manager, context, claimsFactory, null, null, null, null) { }
SecurityStampValidatorTest.cs (1)
168
var signInManager = new
SignInManager
<PocoUser>(userManager.Object,
SignInManagerTest.cs (10)
21
Assert.Throws<ArgumentNullException>("userManager", () => new
SignInManager
<PocoUser>(null, null, null, null, null, null, null));
23
Assert.Throws<ArgumentNullException>("contextAccessor", () => new
SignInManager
<PocoUser>(userManager, null, null, null, null, null, null));
27
Assert.Throws<ArgumentNullException>("claimsFactory", () => new
SignInManager
<PocoUser>(userManager, contextAccessor.Object, null, null, null, null, null));
48
var helper = new
SignInManager
<PocoUser>(manager.Object, contextAccessor.Object, claimsFactory, options.Object, logger, new Mock<IAuthenticationSchemeProvider>().Object, new DefaultUserConfirmation<PocoUser>());
78
var helper = new
SignInManager
<PocoUser>(manager.Object, contextAccessor.Object, claimsFactory, options.Object, logger, new Mock<IAuthenticationSchemeProvider>().Object, new DefaultUserConfirmation<PocoUser>());
110
var sm = new
SignInManager
<PocoUser>(manager, contextAccessor.Object, claimsFactory, options.Object, null, schemeProvider, new DefaultUserConfirmation<PocoUser>());
1289
nameof(SignInManager<PocoUser>) => new
SignInManager
<PocoUser>(manager, contextAccessor.Object, claimsFactory, options, NullLogger<SignInManager<PocoUser>>.Instance, Mock.Of<IAuthenticationSchemeProvider>(), new DefaultUserConfirmation<PocoUser>()),
1304
:
base
(userManager, contextAccessor, claimsFactory, optionsAccessor, NullLogger<SignInManager<TUser>>.Instance, Mock.Of<IAuthenticationSchemeProvider>(), new DefaultUserConfirmation<TUser>())
1316
:
base
(userManager, contextAccessor, claimsFactory, optionsAccessor, NullLogger<SignInManager<TUser>>.Instance, Mock.Of<IAuthenticationSchemeProvider>(), new DefaultUserConfirmation<TUser>())
1333
:
base
(userManager, contextAccessor, claimsFactory, optionsAccessor, NullLogger<SignInManager<TUser>>.Instance, Mock.Of<IAuthenticationSchemeProvider>(), new DefaultUserConfirmation<TUser>())