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