public Startup(IHostingEnvironment env)
        {
            _appConfig =
                new AuthorizationConfigurationProvider(new WindowsCertificateService()).GetAppConfiguration(env
                                                                                                            .ContentRootPath);

            _appConfig.ConfigureIdentityProviderSearchServiceUrl();

            _levelSwitch      = new LoggingLevelSwitch();
            _idServerSettings = _appConfig.IdentityServerConfidentialClientSettings;
            _logger           = LogFactory.CreateTraceLogger(_levelSwitch, _appConfig);
        }