Skip to content

Commit 21c6d8c

Browse files
authored
Azure.Identity Prepare release (Azure#38195)
1 parent b81b267 commit 21c6d8c

28 files changed

+31
-35
lines changed

sdk/identity/Azure.Identity/CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
# Release History
22

3-
## 1.10.0-beta.2 (Unreleased)
3+
## 1.10.0 (2023-08-14)
44

55
### Features Added
66
- Added `BrowserCustomization` property to `InteractiveBrowserCredential` to enable web view customization for interactive authentication.
77

8-
### Breaking Changes
9-
108
### Bugs Fixed
119

1210
- ManagedIdentityCredential will no longer attempt to parse invalid json payloads on responses from the managed identity endpoint.
1311
- Fixed an issue where AzurePowerShellCredential fails to parse the token response from Azure PowerShell. [#22638](https://github.com/Azure/azure-sdk-for-net/issues/22638)
1412

15-
### Other Changes
16-
1713
## 1.10.0-beta.1 (2023-07-17)
1814

1915
### Features Added
2016
- Continuous Access Evaluation (CAE) is now configurable per-request by setting the `IsCaeEnabled` property of `TokenRequestContext` via its constructor.
21-
- Added `IsSupportLoggingEnabled` property to `TokenCredentialOptions` which equates to passing 'true' for the `enablePiiLogging` parameter to the 'WithLogging' method on the MSAL client builder.
17+
- Added `IsUnsafeSupportLoggingEnabled` property to `TokenCredentialOptions` which equates to passing 'true' for the `enablePiiLogging` parameter to the 'WithLogging' method on the MSAL client builder.
2218

2319
### Bugs Fixed
2420
- Fixed an issue with `TokenCachePersistenceOptions` where credentials in the same process would share the same cache, even if they had different configured names.

sdk/identity/Azure.Identity/api/Azure.Identity.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public partial class TokenCredentialOptions : Azure.Core.ClientOptions
373373
public TokenCredentialOptions() { }
374374
public System.Uri AuthorityHost { get { throw null; } set { } }
375375
public new Azure.Identity.TokenCredentialDiagnosticsOptions Diagnostics { get { throw null; } }
376-
public bool IsSupportLoggingEnabled { get { throw null; } set { } }
376+
public bool IsUnsafeSupportLoggingEnabled { get { throw null; } set { } }
377377
}
378378
public abstract partial class UnsafeTokenCacheOptions : Azure.Identity.TokenCachePersistenceOptions
379379
{

sdk/identity/Azure.Identity/src/Azure.Identity.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Description>This is the implementation of the Azure SDK Client Library for Azure Identity</Description>
44
<AssemblyTitle>Microsoft Azure.Identity Component</AssemblyTitle>
5-
<Version>1.10.0-beta.2</Version>
5+
<Version>1.10.0</Version>
66
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
77
<ApiCompatVersion>1.9.0</ApiCompatVersion>
88
<PackageTags>Microsoft Azure Identity;$(PackageCommonTags)</PackageTags>

sdk/identity/Azure.Identity/src/Credentials/AzureCliCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public AzureCliCredential(AzureCliCredentialOptions options)
6868

6969
internal AzureCliCredential(CredentialPipeline pipeline, IProcessService processService, AzureCliCredentialOptions options = null)
7070
{
71-
_logPII = options?.IsSupportLoggingEnabled ?? false;
71+
_logPII = options?.IsUnsafeSupportLoggingEnabled ?? false;
7272
_logAccountDetails = options?.Diagnostics?.IsAccountIdentifierLoggingEnabled ?? false;
7373
_pipeline = pipeline;
7474
_path = !string.IsNullOrEmpty(EnvironmentVariables.Path) ? EnvironmentVariables.Path : DefaultPath;

sdk/identity/Azure.Identity/src/Credentials/AzureDeveloperCliCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public AzureDeveloperCliCredential(AzureDeveloperCliCredentialOptions options)
6161

6262
internal AzureDeveloperCliCredential(CredentialPipeline pipeline, IProcessService processService, AzureDeveloperCliCredentialOptions options = null)
6363
{
64-
_logPII = options?.IsSupportLoggingEnabled ?? false;
64+
_logPII = options?.IsUnsafeSupportLoggingEnabled ?? false;
6565
_logAccountDetails = options?.Diagnostics?.IsAccountIdentifierLoggingEnabled ?? false;
6666
_pipeline = pipeline;
6767
_processService = processService ?? ProcessService.Default;

sdk/identity/Azure.Identity/src/Credentials/AzurePowerShellCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public AzurePowerShellCredential(AzurePowerShellCredentialOptions options) : thi
6161
internal AzurePowerShellCredential(AzurePowerShellCredentialOptions options, CredentialPipeline pipeline, IProcessService processService)
6262
{
6363
UseLegacyPowerShell = false;
64-
_logPII = options?.IsSupportLoggingEnabled ?? false;
64+
_logPII = options?.IsUnsafeSupportLoggingEnabled ?? false;
6565
_logAccountDetails = options?.Diagnostics?.IsAccountIdentifierLoggingEnabled ?? false;
6666
TenantId = options?.TenantId;
6767
_pipeline = pipeline ?? CredentialPipeline.GetInstance(options);

sdk/identity/Azure.Identity/src/Credentials/TokenCredentialOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public Uri AuthorityHost
3737
/// the <see cref="DiagnosticsOptions.IsLoggingContentEnabled"/> property must be set to <c>true</c>.
3838
/// Setting this property to `true` equates to passing 'true' for the enablePiiLogging parameter to the 'WithLogging' method on the MSAL client builder.
3939
/// </summary>
40-
public bool IsSupportLoggingEnabled { get; set; }
40+
public bool IsUnsafeSupportLoggingEnabled { get; set; }
4141

4242
/// <summary>
4343
/// Gets or sets whether this credential is part of a chained credential.
@@ -52,7 +52,7 @@ internal virtual T Clone<T>()
5252
// copy TokenCredentialOptions Properties
5353
clone.AuthorityHost = AuthorityHost;
5454

55-
clone.IsSupportLoggingEnabled = IsSupportLoggingEnabled;
55+
clone.IsUnsafeSupportLoggingEnabled = IsUnsafeSupportLoggingEnabled;
5656

5757
// copy TokenCredentialDiagnosticsOptions specific options
5858
clone.Diagnostics.IsAccountIdentifierLoggingEnabled = Diagnostics.IsAccountIdentifierLoggingEnabled;

sdk/identity/Azure.Identity/src/Credentials/VisualStudioCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public VisualStudioCredential(VisualStudioCredentialOptions options) : this(opti
5353

5454
internal VisualStudioCredential(string tenantId, CredentialPipeline pipeline, IFileSystemService fileSystem, IProcessService processService, VisualStudioCredentialOptions options = null)
5555
{
56-
_logPII = options?.IsSupportLoggingEnabled ?? false;
56+
_logPII = options?.IsUnsafeSupportLoggingEnabled ?? false;
5757
_logAccountDetails = options?.Diagnostics?.IsAccountIdentifierLoggingEnabled ?? false;
5858
TenantId = tenantId;
5959
_pipeline = pipeline ?? CredentialPipeline.GetInstance(null);

sdk/identity/Azure.Identity/src/MsalClientBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected MsalClientBase(CredentialPipeline pipeline, string tenantId, string cl
4444
DisableInstanceDiscovery = options is ISupportsDisableInstanceDiscovery supportsDisableInstanceDiscovery && supportsDisableInstanceDiscovery.DisableInstanceDiscovery;
4545
ISupportsTokenCachePersistenceOptions cacheOptions = options as ISupportsTokenCachePersistenceOptions;
4646
_tokenCachePersistenceOptions = cacheOptions?.TokenCachePersistenceOptions;
47-
IsSupportLoggingEnabled = options?.IsSupportLoggingEnabled ?? false;
47+
IsSupportLoggingEnabled = options?.IsUnsafeSupportLoggingEnabled ?? false;
4848
Pipeline = pipeline;
4949
TenantId = tenantId;
5050
ClientId = clientId;

sdk/identity/Azure.Identity/tests/AuthorizationCodeCredentialTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public override TokenCredential GetTokenCredential(CommonCredentialTestConfig co
3333
Transport = config.Transport,
3434
DisableInstanceDiscovery = config.DisableInstanceDiscovery,
3535
AdditionallyAllowedTenants = config.AdditionallyAllowedTenants,
36-
IsSupportLoggingEnabled = config.IsSupportLoggingEnabled,
36+
IsUnsafeSupportLoggingEnabled = config.IsUnsafeSupportLoggingEnabled,
3737
};
3838
var pipeline = CredentialPipeline.GetInstance(options);
3939
return InstrumentClient(

0 commit comments

Comments
 (0)