Exemple #1
0
 public UserRepository(IDatabase database,
                       IEmailService mailService,
                       ITokenSecurity tokenSecurity,
                       TuoTuoMailConfigurationSection mailConfig,
                       T_USER_BLL userBll,
                       T_THIRD_PARTY_BLL thirdBll,
                       T_PROJECT_MEMBER_BLL projectMemberbll,
                       T_TEAM_MEMBER_BLL teamMemberbll,
                       IRelationAccountRepository relationRepo,
                       TemplateHelper templateHelper,
                       IFileService fileService,
                       IAttachmentUploadRepository attachmentUploadRepository)
 {
     _database                   = database;
     _mailService                = mailService;
     _tokenSecurity              = tokenSecurity;
     _mailConfig                 = mailConfig;
     _userBll                    = userBll;
     _thirdBll                   = thirdBll;
     _projectMemberbll           = projectMemberbll;
     _teamMemberbll              = teamMemberbll;
     _relationRepo               = relationRepo;
     _templateHelper             = templateHelper;
     _fileService                = fileService;
     _attachmentUploadRepository = attachmentUploadRepository;
 }
Exemple #2
0
 public OrdersController(ICommandSender bus, IReadOnlyRepository <Order> repository, IFindAccount accounts, ITokenSecurity tokenSecurity)
 {
     this.bus           = bus;
     this.repository    = repository;
     this.accounts      = accounts;
     this.tokenSecurity = tokenSecurity;
 }
 public PrintJobsController(
     ICommandSender bus,
     IReadOnlyRepository <PrintJob> repository,
     IFindAccount accounts,
     ICertificateLocator certificateLocator,
     ITokenSecurity tokenSecurity)
 {
     this.bus                = bus;
     this.repository         = repository;
     this.accounts           = accounts;
     this.certificateLocator = certificateLocator;
     this.tokenSecurity      = tokenSecurity;
 }
 public SecureTokenPackageGenerator(ICertificateLocator certificateLocator, ITokenSecurity tokenSecurity)
 {
     this.certificateLocator = certificateLocator;
     this.tokenSecurity      = tokenSecurity;
 }
 public StandardTokenDie(Guid mintRequestId, long startOfSequence, ITokenSecurity security)
 {
     salt          = mintRequestId.ToByteArray();
     generator     = new TokenIdentifierGenerator(mintRequestId, startOfSequence);
     this.security = security;
 }
Exemple #6
0
 public DecryptedTokenEnumerator(IEnumerable <Token> tokens, ITokenSecurity tokenSecurity)
 {
     this.tokens        = tokens;
     this.tokenSecurity = tokenSecurity;
 }
Exemple #7
0
 public DecryptedFiveByFiveEnumerator(IQueryable <T> encryptedQuery, ITokenSecurity tokenSecurity)
 {
     this.encryptedQuery = encryptedQuery;
     this.tokenSecurity  = tokenSecurity;
 }