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

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

            return result;
        }