public AuthController(IAuthenticateUser authenticateUser, IAddNewUser addNewUser, IEmailService emailService, IConfirmUserEmailByToken confirmUserEmailByToken, IGetUserByEmail getUserByEmail, IAddUserTokenToUser addUserTokenToUser, IGetUserByToken getUserByToken, IEditUserPassword editUserPassword, IDeleteUserTokenyByTokenString deleteUserTokenyByTokenString, IAddNewEmailMessage addNewEmailMessage, ICheckDomainExistsByName checkDomainExistsByName, IAddNewDomain addNewDomain, ISetDomainOwner setDomainOwner, IAddUserToDomain addUserToDomain, IGetRoleByName getRoleByName) { this.authenticateUser = authenticateUser; this.addNewUser = addNewUser; this.emailService = emailService; this.confirmUserEmailByToken = confirmUserEmailByToken; this.getUserByEmail = getUserByEmail; this.addUserTokenToUser = addUserTokenToUser; this.getUserByToken = getUserByToken; this.editUserPassword = editUserPassword; this.addNewEmailMessage = addNewEmailMessage; this.checkDomainExistsByName = checkDomainExistsByName; this.addNewDomain = addNewDomain; this.setDomainOwner = setDomainOwner; this.addUserToDomain = addUserToDomain; this.getRoleByName = getRoleByName; }
public UsersController( IGetUsers getUsers, IGetUserByEmail getUserByEmail, IUpsertUser upsertUser, IDeleteUser deleteUser) { this.getUsers = getUsers; this.getUserByEmail = getUserByEmail; this.upsertUser = upsertUser; this.deleteUser = deleteUser; this.createValidator = new CreateUserModelValidator(); this.updateValidator = new UpdateUserModelValidator(); }
public UsuarioRepository( IGetUserByLogin getUserByLogin, IGetUserByEmail getUserByEmail, ILdapRepository ldapRepository, ICreateUser createUser, IUpdateToken updateToken, IRecreateUser recreateUser ) { this.getUserByLogin = getUserByLogin; this.getUserByEmail = getUserByEmail; this.createUser = createUser; this.ldapRepository = ldapRepository; this.updateToken = updateToken; this.recreateUser = recreateUser; }
public UsuarioRepository( IGetUserByLogin getUserByLogin, IGetUserByEmail getUserByEmail, ICreateUser createUser, INotification notification, IUpdateToken updateToken, IRecreateUser recreateUser, IUpdateDB updateDb, ILdapRepository ldapRepository ) { this.getUserByLogin = getUserByLogin; this.getUserByEmail = getUserByEmail; this.createUser = createUser; this.notification = notification; this.updateToken = updateToken; this.recreateUser = recreateUser; this.updateDb = updateDb; this.ldapRepository = ldapRepository; }