-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from damienbod/dev-net8
.NET 8
- Loading branch information
Showing
24 changed files
with
120 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
namespace Api; | ||
using System; | ||
|
||
namespace Api; | ||
|
||
public class DPoPOptions | ||
{ | ||
|
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,29 +1,32 @@ | ||
using System.Collections.Generic; | ||
using System.Security.Claims; | ||
|
||
namespace Api; | ||
|
||
public class DPoPProofValidatonContext | ||
{ | ||
/// <summary> | ||
/// The ASP.NET Core authentication scheme triggering the validation | ||
/// </summary> | ||
public string Scheme { get; set; } = string.Empty; | ||
public required string Scheme { get; set; } | ||
|
||
/// <summary> | ||
/// The HTTP URL to validate | ||
/// </summary> | ||
public string Url { get; set; } = string.Empty; | ||
public required string Url { get; set; } | ||
|
||
/// <summary> | ||
/// The HTTP method to validate | ||
/// </summary> | ||
public string Method { get; set; } = string.Empty; | ||
public required string Method { get; set; } | ||
|
||
/// <summary> | ||
/// The DPoP proof token to validate | ||
/// </summary> | ||
public string? ProofToken { get; set; } | ||
public required string ProofToken { get; set; } | ||
|
||
/// <summary> | ||
/// The access token | ||
/// </summary> | ||
public string? AccessToken { get; set; } | ||
public required string AccessToken { 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
Oops, something went wrong.