Skip to content

Commit

Permalink
syntax sugar
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasduft committed Dec 20, 2023
1 parent 308a144 commit cc48cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore.Models;
using tomware.OpenIddict.UI.Suite.Core;

using static OpenIddict.Abstractions.OpenIddictConstants;

namespace tomware.OpenIddict.UI.Infrastructure;
Expand Down
4 changes: 2 additions & 2 deletions tests/Helpers/IntegrationApplicationFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public string GetAccessToken(IServiceProvider sp)
{
var claims = new List<Claim>
{
new Claim(Claims.Role, Roles.Administrator),
new Claim(Claims.Issuer, "https://localhost:5001/")
new(Claims.Role, Roles.Administrator),
new(Claims.Issuer, "https://localhost:5001/")
};
var identity = new ClaimsIdentity(claims);

Expand Down

0 comments on commit cc48cdd

Please sign in to comment.