public IdentitySearchService IdentitySearchService(IIdentityServiceProvider identityServiceProvider) { var identitySearchService = new IdentitySearchService(_clientService, _roleService, _groupService, identityServiceProvider, new Mock <ILogger>().Object); return(identitySearchService); }
public IdentitySearchModule( IdentitySearchService identitySearchService, IdentitySearchRequestValidator validator, ILogger logger, IPropertySettings propertySettings = null) : base("/v1/identities", logger, validator, propertySettings) { _identitySearchService = identitySearchService; Get("/", async _ => await GetIdentities().ConfigureAwait(false), null, "GetIdentities"); }