コード例 #1
0
        public virtual async Task <IEnumerable <ApiResource> > FindApiResourcesByScopeAsync(IEnumerable <string> scopeNames)
        {
            var resources = await _identityResourceRepository.FindApiResourcesByScopeAsync(scopeNames.ToArray());

            return(resources?.Select(x => _objectMapper.Map <ApiResources.ApiResource, ApiResource>(x)));
        }