예제 #1
0
        /// <summary>
        /// Return the SAML Settings to be used by the SAML Request
        /// and Response classes
        /// </summary>
        /// <returns></returns>
        public Saml.Settings SamlSettings()
        {
            Saml.Settings settings = new Saml.Settings();
            settings.AssertionConsumerServiceUrl = ConsumeUrl();
            settings.IdpSsoTargetUrl             = IdpUrl();
            settings.IdpCertificate       = X509Certificate;
            settings.Issuer               = MnoHelper.With(presetName).Api.Id;
            settings.NameIdentifierFormat = NameIdFormat;

            return(settings);
        }
예제 #2
0
        /// <summary>
        /// Return the SAML Settings to be used by the SAML Request
        /// and Response classes
        /// </summary>
        /// <returns></returns>
        public Saml.Settings SamlSettings()
        {
            Saml.Settings settings = new Saml.Settings();
            settings.AssertionConsumerServiceUrl = ConsumeUrl();
            settings.IdpSsoTargetUrl             = IdpUrl();
            settings.IdpCertificate       = X509Certificate;
            settings.Issuer               = apiConfiguration.Id;
            settings.NameIdentifierFormat = NameIdFormat;

            return(settings);
        }
예제 #3
0
        /// <summary>
        /// Return the SAML Settings to be used by the SAML Request
        /// and Response classes
        /// </summary>
        /// <returns></returns>
        public Saml.Settings SamlSettings()
        {
            Saml.Settings settings = new Saml.Settings();
            settings.AssertionConsumerServiceUrl = ConsumeUrl();
            settings.IdpSsoTargetUrl = IdpUrl();
            settings.IdpCertificate = X509Certificate;
            settings.Issuer = MnoHelper.Api.Id;
            settings.NameIdentifierFormat = NameIdFormat;

            return settings;
        }