diff --git a/src/openiddict/OpenIddict.UI.Infrastructure/Services/ApplicationService.cs b/src/openiddict/OpenIddict.UI.Infrastructure/Services/ApplicationService.cs index a06065a..0eb8a18 100644 --- a/src/openiddict/OpenIddict.UI.Infrastructure/Services/ApplicationService.cs +++ b/src/openiddict/OpenIddict.UI.Infrastructure/Services/ApplicationService.cs @@ -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; diff --git a/tests/Helpers/IntegrationApplicationFactory.cs b/tests/Helpers/IntegrationApplicationFactory.cs index 2bde5eb..6af3c11 100644 --- a/tests/Helpers/IntegrationApplicationFactory.cs +++ b/tests/Helpers/IntegrationApplicationFactory.cs @@ -59,8 +59,8 @@ public string GetAccessToken(IServiceProvider sp) { var claims = new List { - 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);