public SecuredFileProvider(UseOnceAccessIdService _oneTimeTokenService)
 {
     _fileId = new List <string> {
         "securefile.txt", "securefileadmin.txt", "securefiletwo.txt"
     };
     _useOnceAccessIdService = _oneTimeTokenService;
 }
예제 #2
0
 public SecuredFileProvider(UseOnceAccessIdService oneTimeTokenService)
 {
     // create the demo data, this could be data from a database or file provider...
     _fileIds = new List <string> {
         "securefile.txt", "securefileadmin.txt", "securefiletwo.txt"
     };
     _useOnceAccessIdService = oneTimeTokenService;
 }
 public SecuredFileProvider(UseOnceAccessIdService oneTimeTokenService)
 {
     // create the demo data, this could be data from a database or file provider...
     _fileIds = new List<string> { "securefile.txt", "securefileadmin.txt", "securefiletwo.txt" };
     _useOnceAccessIdService = oneTimeTokenService;
 }