public AccountController(
     ISaltService saltService,
     IAccountService accountService)
 {
     _saltService    = saltService;
     _accountService = accountService;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationService"/> class.
 /// </summary>
 /// <param name="documentSession">The documentSession.</param>
 /// <param name="hashService">The hash service.</param>
 /// <param name="saltService">The salt service.</param>
 public AuthenticationService(IDocumentSession documentSession, IHashService hashService, ISaltService saltService)
 {
     _documentSession = documentSession;
     _hashService = hashService;
     _saltService = saltService;
 }