Esempio n. 1
0
 public LoginAppService(ITokenService token, IEncryptData encryptData, IUsuarioRepository usuarioRepository, IMapper mapper)
 {
     _token             = token;
     _encryptData       = encryptData;
     _usuarioRepository = usuarioRepository;
     _mapper            = mapper;
 }
 public AccountController(IEncryptData iEncryptData,
                          IPasswordService iPasswordService,
                          ICreateUserAccount iCreateUserAccount,
                          IProfile iProfile,
                          IValidateLogin iValidateLogin)
 {
     _iEncryptData       = iEncryptData;
     _iPasswordService   = iPasswordService;
     _iCreateUserAccount = iCreateUserAccount;
     _iProfile           = iProfile;
     _iValidateLogin     = iValidateLogin;
 }
Esempio n. 3
0
 public UsuarioAppService(IUsuarioRepository usuarioRepository, IEncryptData encryptData, IMapper mapper,
                          IUsuarioService user, INotificationService notificationService, ITokenService tokenService, IEmailAddress emailAddress,
                          IEmailRepository emailRepository, IOptions <ScanTextClientSettings> optionsClientSettings)
 {
     _usuarioRepository = usuarioRepository;
     _encryptData       = encryptData;
     _mapper            = mapper;
     _user = user;
     _notificationService = notificationService;
     _tokenService        = tokenService;
     _emailAddress        = emailAddress;
     _emailRepository     = emailRepository;
     _clientSettings      = optionsClientSettings.Value;
 }