public HomeController(SecretContext context) { _context = context; }
public SecretController(SecretContext context) { _protector = DataProtectionProvider.Create("SecretKeeper").CreateProtector("Secrets.TimeLimited").ToTimeLimitedDataProtector(); _rndProvider = new RNGCryptoServiceProvider(); _context = context; }
public ExpiredRecordsCleaner(SecretContext secretContext, UploadContext uploadContext) { _secretContext = secretContext; _uploadContext = uploadContext; }