public SigningCredentialStoreTest()
 {
     clock.SetupGet(i => i.UtcNow).Returns(Time(0));
     scd             = CreateSut();
     signingStore    = new SigningCredentialStore(scd);
     validationStore = new ValidationKeysStore(scd);
 }
Пример #2
0
 public SelfValidator(IMemoryCache memoryCache, IValidationKeysStore validationKeysStore)
 {
     _validationKeysStore = validationKeysStore;
     _memoryCache         = memoryCache;
     _memCacheKey         = Guid.NewGuid().ToString();
 }