-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some work on SamlResponse deserializing
- Loading branch information
1 parent
fe62775
commit 0e98e1f
Showing
32 changed files
with
436 additions
and
142 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
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
namespace Sustainsys.Saml2.Samlp.Attributes; | ||
|
||
/// <summary> | ||
/// Name of Samlp attributes | ||
/// </summary> | ||
/// <remarks>The naming of the constants are deriberately not following | ||
/// casing convention in order to be exactly the same as the contents. | ||
/// </remarks> | ||
public class AttributeNames | ||
{ | ||
/// <summary> | ||
/// ID attribute | ||
/// </summary> | ||
public const string ID = nameof(ID); | ||
|
||
/// <summary> | ||
/// IssueInstant | ||
/// </summary> | ||
public const string IssueInstant = nameof(IssueInstant); | ||
|
||
/// <summary> | ||
/// Version | ||
/// </summary> | ||
public const string Version = nameof(Version); | ||
|
||
/// <summary> | ||
/// Value | ||
/// </summary> | ||
public const string Value = nameof(Value); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace Sustainsys.Saml2.Samlp.Elements; | ||
|
||
/// <summary> | ||
/// Name of Samlp elements | ||
/// </summary> | ||
public static class ElementNames | ||
{ | ||
/// <summary> | ||
/// Response | ||
/// </summary> | ||
public const string Response = nameof(Response); | ||
|
||
/// <summary> | ||
/// Status | ||
/// </summary> | ||
public const string Status = nameof(Status); | ||
|
||
|
||
/// <summary> | ||
/// StatusCode | ||
/// </summary> | ||
public const string StatusCode = nameof(StatusCode); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace Sustainsys.Saml2.Samlp.Elements; | ||
|
||
/// <summary> | ||
/// Samlp Status element | ||
/// </summary> | ||
public class SamlStatus | ||
{ | ||
/// <summary> | ||
/// Status Code | ||
/// </summary> | ||
public StatusCode StatusCode { get; set; } = default!; | ||
} | ||
|
||
/// <summary> | ||
/// Samlp StatusCode element | ||
/// </summary> | ||
public class StatusCode | ||
{ | ||
/// <summary> | ||
/// Status code value. | ||
/// </summary> | ||
public string Value { get; set; } = default!; | ||
} |
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
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.