forked from Sustainsys/Saml2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move serializer codes to metadata project and some cosmetics
- Loading branch information
Showing
92 changed files
with
3,300 additions
and
2,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
namespace Sustainsys.Saml2.Metadata | ||
{ | ||
public class CipherData | ||
{ | ||
public string CipherValue { get; set; } | ||
public CipherReference CipherReference { get; set; } | ||
} | ||
} | ||
public class CipherData | ||
{ | ||
public string CipherValue { get; set; } | ||
|
||
public CipherReference CipherReference { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...iguration/ICustomIdentityConfiguration.cs → ...iguration/ICustomIdentityConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 25 additions & 23 deletions
48
Sustainsys.Saml2.Metadata/Descriptors/ApplicationServiceDescriptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
using System.Collections.Generic; | ||
using Sustainsys.Saml2.Metadata.Services; | ||
using Sustainsys.Saml2.Metadata.Services; | ||
using System.Collections.Generic; | ||
|
||
namespace Sustainsys.Saml2.Metadata.Descriptors | ||
{ | ||
public class ApplicationServiceDescriptor : WebServiceDescriptor | ||
{ | ||
public ICollection<EndpointReference> Endpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
public ICollection<EndpointReference> PassiveRequestorEndpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
public ICollection<EndpointReference> SingleSignOutEndpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
public class ApplicationServiceDescriptor : WebServiceDescriptor | ||
{ | ||
public ICollection<EndpointReference> Endpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
|
||
public ApplicationServiceDescriptor() | ||
{ | ||
} | ||
public ICollection<EndpointReference> PassiveRequestorEndpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
|
||
public ApplicationServiceDescriptor( | ||
IEnumerable<EndpointReference> endpoints, | ||
IEnumerable<EndpointReference> passiveRequestorEndpoints, | ||
IEnumerable<EndpointReference> singleSignOutEndpoints | ||
) | ||
{ | ||
((List<EndpointReference>)Endpoints).AddRange(endpoints); | ||
} | ||
} | ||
} | ||
public ICollection<EndpointReference> SingleSignOutEndpoints { get; private set; } = | ||
new List<EndpointReference>(); | ||
|
||
public ApplicationServiceDescriptor() | ||
{ | ||
} | ||
|
||
public ApplicationServiceDescriptor( | ||
IEnumerable<EndpointReference> endpoints, | ||
IEnumerable<EndpointReference> passiveRequestorEndpoints, | ||
IEnumerable<EndpointReference> singleSignOutEndpoints | ||
) | ||
{ | ||
((List<EndpointReference>)Endpoints).AddRange(endpoints); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 14 additions & 12 deletions
26
Sustainsys.Saml2.Metadata/Descriptors/AuthnAuthorityDescriptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
using System.Collections.Generic; | ||
using Sustainsys.Saml2.Metadata.Services; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using Sustainsys.Saml2.Metadata.Services; | ||
|
||
namespace Sustainsys.Saml2.Metadata.Descriptors | ||
{ | ||
public class AuthnAuthorityDescriptor : RoleDescriptor | ||
{ | ||
public ICollection<AuthnQueryService> AuthnQueryServices { get; private set; } = | ||
new Collection<AuthnQueryService>(); | ||
public ICollection<AssertionIdRequestService> AssertionIdRequestServices { get; private set; } = | ||
new Collection<AssertionIdRequestService>(); | ||
public ICollection<NameIDFormat> NameIDFormats { get; private set; } = | ||
new Collection<NameIDFormat>(); | ||
} | ||
} | ||
public class AuthnAuthorityDescriptor : RoleDescriptor | ||
{ | ||
public ICollection<AuthnQueryService> AuthnQueryServices { get; private set; } = | ||
new Collection<AuthnQueryService>(); | ||
|
||
public ICollection<AssertionIdRequestService> AssertionIdRequestServices { get; private set; } = | ||
new Collection<AssertionIdRequestService>(); | ||
|
||
public ICollection<NameIDFormat> NameIDFormats { get; private set; } = | ||
new Collection<NameIDFormat>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.