public SettingsProvider(IMemoryCache cache, IHttpContextAccessor httpContextAccessor, SquidexClientManagerFactory factory, IOptions <SettingsData> defaults) : base(cache, httpContextAccessor) { this.factory = factory; this.defaults = defaults; }
public ResourceStore(IMemoryCache cache, IHttpContextAccessor httpContextAccessor, SquidexClientManagerFactory factory, IStringLocalizer <AppResources> localizer) : base(cache, httpContextAccessor) { this.factory = factory; this.localizer = localizer; }
public ClientStore(SquidexClientManagerFactory factory) { this.factory = factory; }
public ClientStore(IMemoryCache cache, IHttpContextAccessor httpContextAccessor, SquidexClientManagerFactory factory) : base(cache, httpContextAccessor) { this.factory = factory; }
private static Task <ContentsResult <ApiScopeEntity, ApiScopeData> > GetApiScopesAsync(SquidexClientManagerFactory factory) { var client = factory.GetContentsClient <ApiScopeEntity, ApiScopeData>("api-scopes"); return(client.GetAsync(context: Context.Build())); }
private static Task <ContentsResult <IdentityResourceEntity, IdentityResourceData> > GetIdentityResourcesAsync(SquidexClientManagerFactory factory) { var client = factory.GetContentsClient <IdentityResourceEntity, IdentityResourceData>("identity-resources"); return(client.GetAsync(context: Context.Build())); }
public UserStore(SquidexClientManagerFactory factory) { apiClient = factory.GetContentsClient <UserEntity, UserData>("users"); }