Example #1
0
        public virtual async Task <IEnumerable <IdentityServer4.Models.IdentityResource> > FindIdentityResourcesByScopeAsync(IEnumerable <string> scopeNames)
        {
            var resource = await _identityResourceRepository.FindIdentityResourcesByScopeAsync(scopeNames.ToArray());

            return(_objectMapper.Map <List <IdentityResource>, List <IdentityServer4.Models.IdentityResource> >(resource));
        }