public Task <IEnumerable <PersistedGrant> > GetAllAsync(string subjectId)
        {
            var results = _persistedgrantprovider.GetAll(subjectId);

            _logger.LogDebug("{persistedGrantCount} persisted grants found for {subjectId}", results.Count(), subjectId);

            return(Task.FromResult(results));
        }
        public async Task <IEnumerable <PersistedGrant> > GetAllAsync(string subjectId)
        {
            var results = await _persistedgrantprovider.GetAll(subjectId);

            return(results);
        }