Skip to content

Commit

Permalink
Merge pull request #1696 from rabbitmq/rabbitmq-dotnet-client-1695
Browse files Browse the repository at this point in the history
Backport #1690
  • Loading branch information
lukebakken authored Oct 3, 2024
2 parents 0e778f4 + 8ccdc58 commit 86a7b0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions projects/RabbitMQ.Client.OAuth2/OAuth2Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ private Dictionary<string, string> buildRefreshParameters(IToken token)
var dict = buildRequestParameters();
dict.Remove(GRANT_TYPE);
dict.Add(GRANT_TYPE, REFRESH_TOKEN);
if (_scope != null)
{
dict.Add(SCOPE, _scope);
}
dict.Add(REFRESH_TOKEN, token.RefreshToken);
return dict;
}
Expand Down
4 changes: 2 additions & 2 deletions projects/RabbitMQ.Client.OAuth2/RabbitMQ.Client.OAuth2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
</ItemGroup>

<ItemGroup Condition="$(TargetFramework) == 'net462' OR $(TargetFramework) == 'netstandard2.0'">
<PackageReference Include="System.Net.Http.Json" Version="7.0.1" />
<PackageReference Include="System.Text.Json" Version="7.0.2" />
<PackageReference Include="System.Net.Http.Json" Version="6.0.0" />
<PackageReference Include="System.Text.Json" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion projects/Unit/Unit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" />
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="System.Text.Json" Version="6.0.0" />
<PackageReference Include="Verify.NUnit" Version="19.12.1" />
<PackageReference Include="WireMock.Net" Version="1.5.35" />
</ItemGroup>
Expand Down

0 comments on commit 86a7b0f

Please sign in to comment.