Exemplo n.º 1
0
 public AuthenticationServices(IEncryptionService _encryptionService, ITokenService _tokenservice, IAccountRepository _accountRepository
                               , IUserPublisher publisher)
 {
     this._encryptionService = _encryptionService;
     this._tokenservice      = _tokenservice;
     this._accountRepository = _accountRepository;
     this._userPublisher     = publisher;
 }
Exemplo n.º 2
0
 public UserService(IUserRepository userRepository, IMapper mapper, IUserPublisher userPublisher)
 {
     _userRepository = userRepository;
     _userPublisher  = userPublisher;
     _mapper         = mapper;
 }
Exemplo n.º 3
0
 public void Setup()
 {
     _logger        = TestLogger.Create <ILogger>();
     _userPublisher = MockUserPublisher.Create();
 }