public void ItInitializesASettingsObjectProperly() { Settings settings = new Settings(); settings.AssertionConsumerServiceUrl = "https://mysuperapp.com/maestrano/auth/saml/consume"; settings.IdpCertificate = "somecertificateinfo"; settings.IdpSsoTargetUrl = "https://maestrano.com/auth/saml"; settings.Issuer = "my-app"; }
public Settings SamlSettings() { if (settings == null) { settings = MnoHelper.With(presetName).Sso.SamlSettings(); } return settings; }
/// <summary> /// Initialize a Request /// </summary> /// <returns></returns> public Request New(NameValueCollection parameters = null) { this.parameters = parameters; this.settings = null; if (presetName == null) { presetName = "maestrano"; } Id = "_" + Guid.NewGuid().ToString(); IssueInstant = DateTime.Now.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ"); return this; }