-
-
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.
Access Control Challenge provides multiple unique challenges to cater…
… for multiple connections coming from the same IP address. The HostInfo class in MessageServer now contains the challenge that was accepted. MessageClient Challenge now uses the HostInfo class Challenge property as the backing field. Sample Server and Sample Client projects updated accordingly.
- Loading branch information
Jonathon Aroutsidis
committed
Jul 4, 2024
1 parent
5b67724
commit b503a38
Showing
7 changed files
with
96 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/// <summary> | ||
/// Contains return values for Access Control Check. | ||
/// </summary> | ||
internal class AccessControlCheck | ||
{ | ||
/// <summary> | ||
/// Gets or Sets if the Access Control Check passed. | ||
/// </summary> | ||
/// <value> | ||
/// A <b>Boolean</b> indicating if the check passed. | ||
/// </value> | ||
internal bool IsPassed { get; set; } = false; | ||
/// <summary> | ||
/// Gets or Sets if a Challenge was processed. | ||
/// </summary> | ||
/// <value> | ||
/// A <b>Boolean</b> indicating if a Challenge was used. | ||
/// </value> | ||
internal bool IsChallenge { get; set; } = false; | ||
/// <summary> | ||
/// Gets or Sets the Challenge used. | ||
/// </summary> | ||
/// <value> | ||
/// A <b>String</b> containing the challenge used. | ||
/// </value> | ||
internal string Challenge { 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
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