/// <summary> /// Returns an instance of the class with meaningful default values set. /// </summary> /// <returns>The <see cref="Saml20LogoutRequest"/>.</returns> public static Saml20LogoutRequest GetDefault(Saml2Configuration config) { var result = new Saml20LogoutRequest { SubjectToLogOut = new NameId(), Issuer = config.ServiceProvider.Id }; return(result); }
/// <summary> /// Returns an instance of the class with meaningful default values set. /// </summary> /// <returns>The <see cref="Saml20LogoutRequest"/>.</returns> public static Saml20LogoutRequest GetDefault() { var config = Saml2Config.GetConfig(); var result = new Saml20LogoutRequest { SubjectToLogOut = new NameId(), Issuer = config.ServiceProvider.Id }; return result; }