public async Task <IActionResult> Get() { var conf = new AdminUIConfig(); conf.IDPBaseUri = $"{HttpContext.Request.Scheme}://{HttpContext.Request.Host.Host}:{_startUpConfiguration.IdpSettings.HttpsPort}"; return(Ok(conf)); }
static Configurations() { _adminUI = new AdminUIConfig(); _providers = new ProvidersConfig(); _pages = new PagesConfig(); _webData = new WebDataConfig(); _authentication = new AuthenticationConfig(); _imageCompressor = new ImageCompressorConfig(); _autoUpdate = new AutoUpdateConfig(); _logSystem = new LogSystemConfig(); _netProxy = new NetProxyConfig(); _userOptions = new UserOptionsConfig(); _userAccessControlConfig = new UserAccessControlConfig(); ReadSettings(); }