public AppliedSystemsUserManager(IUserStore <User, int> store, IAppliedSystemsPasswordHasher passwordHasher) : base(store) { if (passwordHasher == null) { throw new ArgumentNullException("passwordHasher"); } _passwordHasher = passwordHasher; }
public MockUserManager(IUserStore <User, int> store, IAppliedSystemsPasswordHasher passwordHasher) : base(store, passwordHasher) { _creationResult = IdentityResult.Failed(); }
public UserManagerBuilder WithPasswordHasher(IAppliedSystemsPasswordHasher passwordHasher) { _passwordHasher = passwordHasher; return(this); }
public UserManagerBuilder() { _userStore = new FakeUserStore().Build().Object; _passwordHasher = new FakePasswordHasher().Build().Object; }