From b3701fefd9d88fbdaa47d8ef8cdf3365d534f640 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Thu, 21 Mar 2024 15:56:09 -0500 Subject: [PATCH 1/5] Update Directory.Build.props --- samples/Directory.Build.props | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props index 743c590..5fdad17 100644 --- a/samples/Directory.Build.props +++ b/samples/Directory.Build.props @@ -6,8 +6,6 @@ Copyright © $([System.DateTime]::Now.ToString(yyyy)) LoreSoft LoreSoft en-US - true - 1591 false From 1ccaef6379e4ba2cfb1b11e86083247e562d9f35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:53:10 +0000 Subject: [PATCH 2/5] Bump Microsoft.Identity.Web from 2.17.1 to 2.17.4 Bumps [Microsoft.Identity.Web](https://github.com/AzureAD/microsoft-identity-web) from 2.17.1 to 2.17.4. - [Release notes](https://github.com/AzureAD/microsoft-identity-web/releases) - [Changelog](https://github.com/AzureAD/microsoft-identity-web/blob/2.17.4/changelog.md) - [Commits](https://github.com/AzureAD/microsoft-identity-web/compare/2.17.1...2.17.4) --- updated-dependencies: - dependency-name: Microsoft.Identity.Web dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../Sample.ServerRender.Web/Sample.ServerRender.Web.csproj | 2 +- .../Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj b/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj index 128c6d7..6d42551 100644 --- a/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj +++ b/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj @@ -11,7 +11,7 @@ - + diff --git a/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj b/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj index b0f150f..dbf9a0c 100644 --- a/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj +++ b/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj @@ -13,7 +13,7 @@ - + From 7d54749f5c3b0abebd5d796f5d12a6c0c53732c8 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Thu, 25 Apr 2024 09:29:46 -0500 Subject: [PATCH 3/5] Update Directory.Build.props --- src/Directory.Build.props | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index bd7ccca..07002f3 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,12 +1,12 @@ - Blazone Blazone is a simple authentication module for Blazor Copyright © $([System.DateTime]::Now.ToString(yyyy)) LoreSoft LoreSoft en-US true + blazor;authentication https://github.com/loresoft/Blazone MIT logo.png @@ -14,7 +14,6 @@ git https://github.com/loresoft/Blazone true - 1591 @@ -23,7 +22,17 @@ false - + + embedded + true + + + + true + + + + en-US latest enable 1591 From 8f0cb61e2030191856585e45201e442938f1e287 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Fri, 26 Apr 2024 10:52:03 -0500 Subject: [PATCH 4/5] update packages --- .../Sample.ServerRender.Web.csproj | 10 +++++----- .../Sample.WebAssembly.Client.csproj | 6 +++--- .../Sample.WebAssembly.Server.csproj | 10 +++++----- .../Blazone.Authentication.Client.csproj | 2 +- .../Blazone.Authentication.Server.csproj | 2 +- .../Blazone.Authentication.Tests.csproj | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj b/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj index 6d42551..3b72d8c 100644 --- a/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj +++ b/samples/ServerRender/Sample.ServerRender.Web/Sample.ServerRender.Web.csproj @@ -7,11 +7,11 @@ - - - - - + + + + + diff --git a/samples/WebAssembly/Sample.WebAssembly.Client/Sample.WebAssembly.Client.csproj b/samples/WebAssembly/Sample.WebAssembly.Client/Sample.WebAssembly.Client.csproj index 2d4c899..54126a0 100644 --- a/samples/WebAssembly/Sample.WebAssembly.Client/Sample.WebAssembly.Client.csproj +++ b/samples/WebAssembly/Sample.WebAssembly.Client/Sample.WebAssembly.Client.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj b/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj index dbf9a0c..66be6ff 100644 --- a/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj +++ b/samples/WebAssembly/Sample.WebAssembly.Server/Sample.WebAssembly.Server.csproj @@ -9,11 +9,11 @@ - - - - - + + + + + diff --git a/src/Blazone.Authentication.Client/Blazone.Authentication.Client.csproj b/src/Blazone.Authentication.Client/Blazone.Authentication.Client.csproj index ae01569..0951f35 100644 --- a/src/Blazone.Authentication.Client/Blazone.Authentication.Client.csproj +++ b/src/Blazone.Authentication.Client/Blazone.Authentication.Client.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/Blazone.Authentication.Server/Blazone.Authentication.Server.csproj b/src/Blazone.Authentication.Server/Blazone.Authentication.Server.csproj index 792b49b..1212f66 100644 --- a/src/Blazone.Authentication.Server/Blazone.Authentication.Server.csproj +++ b/src/Blazone.Authentication.Server/Blazone.Authentication.Server.csproj @@ -12,7 +12,7 @@ - + diff --git a/test/Blazone.Authentication.Tests/Blazone.Authentication.Tests.csproj b/test/Blazone.Authentication.Tests/Blazone.Authentication.Tests.csproj index 7737898..9602131 100644 --- a/test/Blazone.Authentication.Tests/Blazone.Authentication.Tests.csproj +++ b/test/Blazone.Authentication.Tests/Blazone.Authentication.Tests.csproj @@ -16,8 +16,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive From f5f6cedbfa45ab484ff39d2b7ffd1f57e47aa6d3 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Fri, 26 Apr 2024 10:52:10 -0500 Subject: [PATCH 5/5] Update DependencyInjectionExtensions.cs --- .../DependencyInjectionExtensions.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Blazone.Authentication.Client/DependencyInjectionExtensions.cs b/src/Blazone.Authentication.Client/DependencyInjectionExtensions.cs index 78043c2..8b6552b 100644 --- a/src/Blazone.Authentication.Client/DependencyInjectionExtensions.cs +++ b/src/Blazone.Authentication.Client/DependencyInjectionExtensions.cs @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Components.Authorization; using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.DependencyInjection.Extensions; namespace Blazone.Authentication; @@ -18,8 +19,8 @@ public static IServiceCollection AddBlazoneClient(this IServiceCollection servic services.AddAuthorizationCore(); services.AddMemoryCache(); - services.AddScoped(); - services.AddTransient(); + services.TryAddTransient(); + services.TryAddTransient(); return services; }