Skip to content

Commit e50a97b

Browse files
committed
Merge branch 'main' into fengga/mac-broker-console-app-support
2 parents 8370a78 + 5cd6c9b commit e50a97b

File tree

20 files changed

+42
-760
lines changed

20 files changed

+42
-760
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
4.72.1
2+
=======
3+
4+
### Bug Fixes
5+
- Ensure instance of IMsalHttpClientFactory passed by the user is used for managed identity flows that do not require cert validation. See [Issue #5286](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5286)
6+
17
4.72.0
28
=======
39
### Features

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ For MAUI, edit the .csproj and enable the mobile targets.
144144
You can create a package from Visual Studio or from the command line with custom version parameters:
145145

146146
```bash
147-
msbuild <msal>.csproj /t:pack /p:MsalClientSemVer=1.2.3-preview
147+
msbuild <msal>.csproj /t:pack /p:MicrosoftIdentityClientVersion=1.2.3-preview
148148
```

build/template-OneBranch-CI-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
parameters:
55
BuildPlatform: 'any cpu'
66
BuildConfiguration: 'release'
7-
MsalClientSemVer: '4.60.0-devopsbuild'
7+
MicrosoftIdentityClientVersion: '4.60.0-devopsbuild'
88
MsalSourceDir: 'microsoft-authentication-library-for-dotnet\' #Default MSAL Location
99

1010
steps:
@@ -82,6 +82,6 @@ steps:
8282
displayName: 'Build solution ${{ parameters.Solution }}'
8383
inputs:
8484
solution: ${{ parameters.Solution }}
85-
msbuildArgs: '/p:RunCodeAnalysis=false /p:MsalClientSemVer=${{ parameters.MsalClientSemVer }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
85+
msbuildArgs: '/p:RunCodeAnalysis=false /p:MicrosoftIdentityClientVersion=${{ parameters.MicrosoftIdentityClientVersion }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
8686
platform: ${{ parameters.BuildPlatform }}
8787
configuration: ${{ parameters.BuildConfiguration }}

build/template-OneBranch-Release-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
parameters:
66
BuildPlatform: 'any cpu'
77
BuildConfiguration: 'release'
8-
MsalClientSemVer: '4.55.0-devopsbuild'
8+
MicrosoftIdentityClientVersion: '4.55.0-devopsbuild'
99
MsalSourceDir: 'microsoft-authentication-library-for-dotnet\' #Default MSAL Location
1010

1111
steps:
1212

1313
- template: template-OneBranch-CI-libsandsamples.yaml
1414
parameters:
1515
Solution: 'microsoft-authentication-library-for-dotnet/LibsAndSamples.sln'
16-
MsalClientSemVer: $(MsalClientSemVer) #Default MSAL package version
16+
MicrosoftIdentityClientVersion: $(MicrosoftIdentityClientVersion) #Default MSAL package version
1717
MsalSourceDir: $(MsalSourceDir) #Default MSAL root directory
1818
PipelineType: $(PipelineType) #Build type
1919

build/template-build-and-prep-automation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
parameters:
1616
BuildPlatform: '$(BuildPlatform)'
1717
BuildConfiguration: '$(BuildConfiguration)'
18-
MsalClientSemVer: $(MsalClientSemVer)
18+
MicrosoftIdentityClientVersion: $(MicrosoftIdentityClientVersion)
1919
Solution: 'LibsAndSamples.sln'
2020

2121
- task: CopyFiles@2

build/template-restore-build-libsandsamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
parameters:
55
BuildPlatform: 'any cpu'
66
BuildConfiguration: 'Release'
7-
MsalClientSemVer: '4.60.0-devopsbuild'
7+
MicrosoftIdentityClientVersion: '4.60.0-devopsbuild'
88

99
steps:
1010

@@ -47,7 +47,7 @@ steps:
4747
displayName: 'Build solution ${{ parameters.Solution }}'
4848
inputs:
4949
solution: ${{ parameters.Solution }}
50-
msbuildArgs: '/p:RunCodeAnalysis=false /p:MsalClientSemVer=${{ parameters.MsalClientSemVer }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
50+
msbuildArgs: '/p:RunCodeAnalysis=false /p:MicrosoftIdentityClientVersion=${{ parameters.MicrosoftIdentityClientVersion }} /p:SourceLinkCreate=true /p:ContinousIntegrationBuild=true'
5151
platform: ${{ parameters.BuildPlatform }}
5252
configuration: ${{ parameters.BuildConfiguration }}
5353
maximumCpuCount: true

src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
1313
<!--This should be passed from the VSTS build-->
14-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
14+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
1515
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
16-
<Version>$(MsalClientSemVer)</Version>
16+
<Version>$(MicrosoftIdentityClientVersion)</Version>
1717
<!-- Copyright needs to be in the form of © not (c) to be compliant -->
1818
<Title>MSAL.NET extension for public client broker support</Title>
1919
<Description>

src/client/Microsoft.Identity.Client.Desktop/Microsoft.Identity.Client.Desktop.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
1515
<!--This should be passed from the VSTS build-->
16-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
17-
<MsalClientSemVer>$(MsalClientSemVer)</MsalClientSemVer>
16+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
17+
<MicrosoftIdentityClientVersion>$(MicrosoftIdentityClientVersion)</MicrosoftIdentityClientVersion>
1818
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
19-
<Version>$(MsalClientSemVer)</Version>
19+
<Version>$(MicrosoftIdentityClientVersion)</Version>
2020
<!-- Copyright needs to be in the form of © not (c) to be compliant -->
2121
<Title>MSAL.NET extension for desktop scenarios for older .NET platforms</Title>
2222
<Description>

src/client/Microsoft.Identity.Client.Extensions.Msal/Microsoft.Identity.Client.Extensions.Msal.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<PropertyGroup Label="NuGet and AssemblyInfo metadata">
88
<!-- most of the properties are in Directory.Build.props-->
99
<!--This should be passed from the VSTS build-->
10-
<MsalClientSemVer Condition="'$(MsalClientSemVer)' == ''">$(MsalInternalVersion)</MsalClientSemVer>
10+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion>
1111
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
12-
<Version>$(MsalClientSemVer)</Version>
12+
<Version>$(MicrosoftIdentityClientVersion)</Version>
1313
<Description>This package contains the public client (desktop) caching to Microsoft Authentication Library for .NET (MSAL.NET)</Description>
1414
<PackageReadmeFile>README.md</PackageReadmeFile>
1515
</PropertyGroup>

src/client/Microsoft.Identity.Client/ApiConfig/BrokerOptions.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ internal static BrokerOptions CreateFromWindowsOptions(WindowsBrokerOptions winO
7979
public bool MsaPassthrough { get; set; } = false;
8080

8181
/// <summary>
82-
/// Currently supported on Windows, Linux and macOS
83-
/// Allows the Windows broker to list Work and School accounts as part of the <see cref="ClientApplicationBase.GetAccountsAsync()"/>
82+
/// Currently supported on Windows, Linux and macOS.
83+
/// Allows the Windows broker to list MSA, Work and School accounts as part of the <see cref="ClientApplicationBase.GetAccountsAsync()"/>.
8484
/// Linux and macOS broker will discover accounts as part of the <see cref="ClientApplicationBase.GetAccountsAsync()"/>
85-
/// </summary>
85+
/// </summary>
86+
[EditorBrowsable(EditorBrowsableState.Never)]
8687
public bool ListOperatingSystemAccounts { get; set; }
8788

8889
internal bool IsBrokerEnabledOnCurrentOs()

0 commit comments

Comments
 (0)