/// <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); }
/// <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); }
/// <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; }