Skip to content

Commit 8606500

Browse files
feat(iot-serv): Add ability to send custom authentication scopes for RBAC auth (#3476)
Previously, the SDK hardcoded just "https://iothubs.azure.net/.default" as the only supported scope, but this does not work for non-public clouds Also fix some out-of-date dependency issues and bump the service client version for a release
1 parent 011494f commit 8606500

File tree

63 files changed

+235
-266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+235
-266
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Track1 .NET Azure IoT Hub and DPS SDKs
22

3-
* @timtay-microsoft @abhipsaMisra @brycewang-microsoft @tmahmood-microsoft @patilsnr
3+
* @timtay-microsoft @lev-i @olivakar @avishekpant

e2e/test/E2ETests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
4141
<PackageReference Include="Microsoft.CSharp" Version="4.7" />
4242
<PackageReference Include="System.Diagnostics.Tracing" Version="4.3.0" />
43+
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
4344
</ItemGroup>
4445

4546
<!-- Legacy .NET 4.5.1 -->

iothub/device/samples/getting started/FileUploadSample/FileUploadSample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Azure.Storage.Blobs" Version="12.19.1" />
10+
<PackageReference Include="Azure.Storage.Blobs" Version="12.23.0" />
1111
<PackageReference Include="CommandLineParser" Version="2.9.1" />
1212
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1313
</ItemGroup>

iothub/device/samples/getting started/MethodSample/MethodSample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="CommandLineParser" Version="2.9.1" />
11-
<PackageReference Include="System.Text.Json" Version="6.0.5" />
11+
<PackageReference Include="System.Text.Json" Version="6.0.11" />
1212
</ItemGroup>
1313

1414
<ItemGroup Condition="'$(Configuration)' == 'Release'">

iothub/device/samples/getting started/SimulatedDevice/SimulatedDevice.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="CommandLineParser" Version="2.9.1" />
11-
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.41.2" />
11+
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.42.3" />
1212
</ItemGroup>
1313

1414
</Project>

iothub/device/samples/getting started/SimulatedDeviceWithCommand/SimulatedDeviceWithCommand.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="CommandLineParser" Version="2.9.1" />
11-
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.41.2" />
11+
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.42.3" />
1212
</ItemGroup>
1313

1414
</Project>

iothub/device/samples/how to guides/DeviceReconnectionSample/DeviceReconnectionSample.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="CommandLineParser" Version="2.9.1" />
12+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
1213
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
14+
<PackageReference Include="System.Text.Json" Version="6.0.11" />
1315
</ItemGroup>
1416

1517
<ItemGroup Condition="'$(Configuration)' == 'Release'">

iothub/device/samples/solutions/PnpDeviceSamples/PnpConvention/PnpConventionTests.cs

Lines changed: 0 additions & 164 deletions
This file was deleted.

iothub/device/samples/solutions/PnpDeviceSamples/PnpConvention/PnpHelpers.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5-
<IsTestProject>True</IsTestProject>
65
<LangVersion>9.0</LangVersion>
76
<IsTestProject>False</IsTestProject>
87
</PropertyGroup>
98

10-
<ItemGroup>
11-
<PackageReference Include="FluentAssertions" Version="6.7.0" />
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
13-
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
14-
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
15-
</ItemGroup>
16-
179
<ItemGroup Condition="'$(Configuration)' == 'Release'">
1810
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.41.2" />
1911
</ItemGroup>

iothub/device/samples/solutions/PnpDeviceSamples/TemperatureController/TemperatureController.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<ItemGroup>
1111
<PackageReference Include="CommandLineParser" Version="2.9.1" />
1212
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
13+
<PackageReference Include="System.Text.Json" Version="6.0.11" />
1314
</ItemGroup>
1415

1516
<ItemGroup Condition="'$(Configuration)' == 'Release'">

0 commit comments

Comments
 (0)