public GithubConnectionCache(IGithubAppTokenService tokenService) { _tokenService = tokenService; var options = new MemoryCacheOptions(); var optionsAccessor = Options.Create(options); _memoryCache = new MemoryCache(optionsAccessor); }
public GithubConnectionCache(IGithubAppTokenService tokenService, IMemoryCache memoryCache) { _tokenService = tokenService; _memoryCache = memoryCache; }