Exemple #1
0
        /// <summary>
        /// Gets a default instance of this class with meaningful default values set.
        /// </summary>
        /// <returns>The default <see cref="Saml20AttributeQuery"/>.</returns>
        public static Saml20AttributeQuery GetDefault()
        {
            var config = Saml2Config.GetConfig();
            var result = new Saml20AttributeQuery {
                Issuer = config.ServiceProvider.Id
            };

            return(result);
        }
        /// <summary>
        /// Gets a default instance of this class with meaningful default values set.
        /// </summary>
        /// <returns>The default <see cref="Saml20AttributeQuery"/>.</returns>
        public static Saml20AttributeQuery GetDefault()
        {
            var config = Saml2Config.GetConfig();
            var result = new Saml20AttributeQuery { Issuer = config.ServiceProvider.Id };

            return result;
        }