-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Nov 16, 2023
1 parent
b991ad8
commit bdedc2a
Showing
26 changed files
with
1,634 additions
and
32 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
13 changes: 13 additions & 0 deletions
13
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Components/Form/AuthorizeNumber.razor
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,13 @@ | ||
@typeparam T | ||
@inherits InputNumber<T> | ||
<AuthorizeView Policy="@SharedConstants.WRITERPOLICY"> | ||
<Authorized> | ||
<InputNumber id="@Id" class="form-control" max="@Max" min="@Min" | ||
ValueExpression="@ValueExpression" Value="@Value" ValueChanged="ValueChanged" /> | ||
</Authorized> | ||
<NotAuthorized> | ||
<div id="@Id" class="col-form-label"> | ||
@Value | ||
</div> | ||
</NotAuthorized> | ||
</AuthorizeView> |
20 changes: 20 additions & 0 deletions
20
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Components/Form/AuthorizeNumber.razor.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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Project: Aguafrommars/TheIdServer | ||
// Copyright (c) 2023 @Olivier Lefebvre | ||
using Microsoft.AspNetCore.Components; | ||
|
||
namespace Aguacongas.TheIdServer.BlazorApp.Components.Form | ||
{ | ||
public partial class AuthorizeNumber<T> | ||
{ | ||
[Parameter] | ||
public string Id { get; set; } | ||
[Parameter] | ||
public string Placeholder { get; set; } | ||
|
||
[Parameter] | ||
public int? Max { get; set; } | ||
|
||
[Parameter] | ||
public int? Min { 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
36 changes: 36 additions & 0 deletions
36
src/IdentityServer/Aguacongas.IdentityServer.Store/Entity/PushedAuthorizationRequest.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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
|
||
namespace Aguacongas.IdentityServer.Store.Entity; | ||
|
||
/// <summary> | ||
/// Represents a persisted Pushed Authorization Request. | ||
/// </summary> | ||
public class PushedAuthorizationRequest : IEntityId, IAuditable | ||
{ | ||
/// <summary> | ||
/// Gets the identifier. | ||
/// </summary> | ||
/// <value> | ||
/// The identifier. | ||
/// </value> | ||
/// <remarks> | ||
/// This is the hash | ||
/// </remarks> | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the Expires at | ||
/// </summary> | ||
public DateTime ExpiresAtUtc { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the request parameters. | ||
/// </summary> | ||
public string Parameters { get; set; } | ||
|
||
/// <inheritdoc/> | ||
public DateTime CreatedAt { get; set; } | ||
|
||
/// <inheritdoc/> | ||
public DateTime? ModifiedAt { 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
Oops, something went wrong.