diff --git a/samples/Sample.AspNetCore/Sample.AspNetCore.csproj b/samples/Sample.AspNetCore/Sample.AspNetCore.csproj
index d64f071..b478cfc 100644
--- a/samples/Sample.AspNetCore/Sample.AspNetCore.csproj
+++ b/samples/Sample.AspNetCore/Sample.AspNetCore.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj b/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj
index c42d171..6892530 100644
--- a/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj
+++ b/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj
@@ -21,8 +21,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj b/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj
index 102ac7b..02c24bd 100644
--- a/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj
+++ b/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj
@@ -4,7 +4,7 @@
netstandard2.1;net5.0
true
enable
- 1.4.1
+ 1.5.0
Hawxy
Dependency Injection, HttpClientFactory & ASP.NET Core extensions for Auth0.NET
true
@@ -18,8 +18,8 @@
-
-
+
+
@@ -43,7 +43,7 @@
-
+
diff --git a/tests/Auth0Net.DependencyInjection.Tests/Auth0Net.DependencyInjection.Tests.csproj b/tests/Auth0Net.DependencyInjection.Tests/Auth0Net.DependencyInjection.Tests.csproj
index 46d3cc5..00c26bb 100644
--- a/tests/Auth0Net.DependencyInjection.Tests/Auth0Net.DependencyInjection.Tests.csproj
+++ b/tests/Auth0Net.DependencyInjection.Tests/Auth0Net.DependencyInjection.Tests.csproj
@@ -8,7 +8,7 @@
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/Auth0Net.DependencyInjection.Tests/CacheTests.cs b/tests/Auth0Net.DependencyInjection.Tests/CacheTests.cs
index 2e41a8e..2857bdc 100644
--- a/tests/Auth0Net.DependencyInjection.Tests/CacheTests.cs
+++ b/tests/Auth0Net.DependencyInjection.Tests/CacheTests.cs
@@ -1,4 +1,5 @@
using System;
+using System.Threading;
using System.Threading.Tasks;
using Auth0.AuthenticationApi;
using Auth0.AuthenticationApi.Models;
@@ -29,7 +30,7 @@ public async Task Cache_WorksAsExpected()
var accessTokenFirst = Guid.NewGuid().ToString();
- A.CallTo(() => authClient.GetTokenAsync(A.Ignored)).Returns(
+ A.CallTo(() => authClient.GetTokenAsync(A.Ignored, A.Ignored)).Returns(
new AccessTokenResponse
{
AccessToken = accessTokenFirst,
@@ -46,7 +47,7 @@ public async Task Cache_WorksAsExpected()
var accessTokenSecond = Guid.NewGuid().ToString();
- A.CallTo(() => authClient.GetTokenAsync(A.Ignored)).Returns(
+ A.CallTo(() => authClient.GetTokenAsync(A.Ignored, A.Ignored)).Returns(
new AccessTokenResponse
{
AccessToken = accessTokenSecond,
@@ -56,7 +57,7 @@ public async Task Cache_WorksAsExpected()
var resSecond = await cache.GetTokenAsync(key);
Assert.Equal(accessTokenSecond, resSecond);
- A.CallTo(() => authClient.GetTokenAsync(A.Ignored))
+ A.CallTo(() => authClient.GetTokenAsync(A.Ignored, A.Ignored))
.MustHaveHappenedTwiceExactly();