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