Skip to content

Commit

Permalink
Addresses #69
Browse files Browse the repository at this point in the history
  • Loading branch information
i8beef committed Jan 14, 2021
1 parent b2e475c commit 30ae449
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/SAML2/Schema/Core/AuthnContextType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace SAML2.Schema.Core
/// Authentication context type enumeration.
/// </summary>
[Serializable]
[XmlTypeAttribute(Namespace = Saml20Constants.Assertion, IncludeInSchema = false)]
[XmlType(Namespace = Saml20Constants.Assertion, IncludeInSchema = false)]
public enum AuthnContextType
{
/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/SAML2/Schema/Metadata/EntityDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ public string ValidUntilString
[XmlElement(AuthnAuthorityDescriptor.ElementName, typeof(AuthnAuthorityDescriptor), Order = 3)]
[XmlElement(IdpSsoDescriptor.ElementName, typeof(IdpSsoDescriptor), Order = 3)]
[XmlElement(PdpDescriptor.ElementName, typeof(PdpDescriptor), Order = 3)]
[XmlElement(RoleDescriptor.ElementName, typeof(RoleDescriptor), Order = 3)]
[XmlElement(SpSsoDescriptor.ElementName, typeof(SpSsoDescriptor), Order = 3)]
public object[] Items { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions src/SAML2/Schema/Metadata/SsoDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ namespace SAML2.Schema.Metadata
/// providers that support SSO
/// </summary>
[XmlInclude(typeof(SpSsoDescriptor))]
[XmlIncludeAttribute(typeof(IdpSsoDescriptor))]
[XmlInclude(typeof(IdpSsoDescriptor))]
[Serializable]
[DebuggerStepThrough]
[XmlTypeAttribute(Namespace = Saml20Constants.Metadata)]
[XmlType(Namespace = Saml20Constants.Metadata)]
public abstract class SsoDescriptor : RoleDescriptor
{
#region Elements
Expand Down

0 comments on commit 30ae449

Please sign in to comment.