예제 #1
0
        /// <summary>
        /// Reads configuration from app.config or web.config.
        /// </summary>
        public static void InitFromConfigFile()
        {
            var config = Saml2Section.GetConfig();

            config.Validate();

            _config = config;
            _config.IdentityProviders.Refresh();
        }
예제 #2
0
        /// <summary>
        /// Reads configuration from app.config or web.config.
        /// </summary>
        public static void InitFromConfigFile()
        {
            var config = Saml2Section.GetConfig();

            Init(config);
        }