Skip to content

Commit

Permalink
feat: dpop
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 23, 2023
1 parent 059b9e0 commit 9fa03f4
Show file tree
Hide file tree
Showing 18 changed files with 11,333 additions and 3,854 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ else
<div class="col">
<AuthorizeCheckbox Name="require-secret" Label="@Localizer["require secret"]" @bind-Value="@Model.RequireClientSecret" />
</div>
<div class="col">
<AuthorizeCheckbox Name="require-dpop" Label="@Localizer["require DPoP"]" @bind-Value="@Model.RequireDPoP" />
</div>
}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,11 @@ public class Client : IAuditable, ICloneable<Client>, ILocalizable<ClientLocaliz
/// </summary>
public bool RequireRequestObject { get; set; }

/// <summary>
/// Specifies whether the client must use Demonstrating Proof-of-Possession.
/// </summary>
public bool RequireDPoP { get; set; }

/// <summary>
/// Gets or sets the relying.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static Client ToClient(this Entity.Client client)
CoordinateLifetimeWithUserSession = client.CoordinateLifetimeWithUserSession,
PollingInterval = client.PollingInterval,
RequireRequestObject = client.RequireRequestObject,
RequireDPoP = client.RequireDPoP
};
}

Expand Down
Loading

0 comments on commit 9fa03f4

Please sign in to comment.