public UserLoginInteractor(IDatabase database, IUserViewMapper userMapper, IPasswordHasher passwordHasher, IAuthenticationTokenHandler tokenHandler) { this.database = database; this.userMapper = userMapper; this.passwordHasher = passwordHasher; this.tokenHandler = tokenHandler; }
public UserController(IUsersService service, IUserViewMapper mapper, UserManager <User> userManager) { this._service = service ?? throw new ArgumentNullException("User service not found"); this._mapper = mapper ?? throw new ArgumentNullException("User mapper not found"); this._userManager = userManager ?? throw new ArgumentNullException("User manager not found"); }
public SubscriptionViewMapper(IUserViewMapper userViewMapper, ISpaceViewMapper spaceViewMapper) { this.userViewMapper = userViewMapper; this.spaceViewMapper = spaceViewMapper; }
public UserFinderByUsername(IDatabase database, IUserViewMapper userMapper) { this.database = database; this.userMapper = userMapper; }
public AdminRegistrar(IDatabase database, IUserViewMapper userMapper, IPasswordHasher passwordHasher) { this.database = database; this.userMapper = userMapper; this.passwordHasher = passwordHasher; }
/// <summary> /// Create a new post view mapper. /// </summary> /// <param name="userMapper">The mapper to convert users to user views.</param> /// <param name="spaceMapper">The mapper to convert space entities</param> /// <param name="voteMapper">The vote view mapper.</param> public PostViewMapper(IUserViewMapper userMapper, ISpaceViewMapper spaceMapper, IVoteViewMapper voteMapper) { this.userMapper = userMapper; this.spaceMapper = spaceMapper; this.voteMapper = voteMapper; }
/// <summary> /// Create a new comment view mapper. /// </summary> /// <param name="userMapper">The user mapper.</param> /// <param name="voteMapper">The vote mapper</param> public CommentViewMapper(IUserViewMapper userMapper, IVoteViewMapper voteMapper) { this.userMapper = userMapper; this.voteMapper = voteMapper; }
public SpaceViewMapper(IUserViewMapper userMapper) { this.userMapper = userMapper; }
public SessionController(UserLoginInteractor loginUserInteractor, IUserViewMapper userViewMapper) { this.loginUserInteractor = loginUserInteractor; this.userViewMapper = userViewMapper; }