diff --git a/build/common.props b/build/common.props index 7436651398..000c4f5136 100644 --- a/build/common.props +++ b/build/common.props @@ -32,7 +32,7 @@ $(SrcTargets) $(SrcStandardTargets) $(NetStandardVersion) - 7.3 + 11 diff --git a/src/Microsoft.IdentityModel.KeyVaultExtensions/Microsoft.IdentityModel.KeyVaultExtensions.csproj b/src/Microsoft.IdentityModel.KeyVaultExtensions/Microsoft.IdentityModel.KeyVaultExtensions.csproj index 7a2295cb2d..6618612a6f 100644 --- a/src/Microsoft.IdentityModel.KeyVaultExtensions/Microsoft.IdentityModel.KeyVaultExtensions.csproj +++ b/src/Microsoft.IdentityModel.KeyVaultExtensions/Microsoft.IdentityModel.KeyVaultExtensions.csproj @@ -6,7 +6,6 @@ Microsoft.IdentityModel.KeyVaultExtensions Includes types that provide support for signing and encrypting tokens with Azure Key Vault. true - latest Microsoft.IdentityModel.KeyVaultExtensions netstandard2.0;net6.0;net8.0 netstandard2.0;net6.0 diff --git a/src/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.csproj b/src/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.csproj index 7f1caaa2a4..06411b87b0 100644 --- a/src/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.csproj +++ b/src/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.csproj @@ -7,7 +7,6 @@ Includes types that provide support for signing and encrypting tokens with Azure Key Vault for Applications that are using Managed identities for Azure resources. true - latest Microsoft.IdentityModel.ManagedKeyVaultSecurityKey netstandard2.0 .NET;Windows;Authentication;Identity;Azure;Key;Vault;Extensions @@ -31,4 +30,4 @@ - \ No newline at end of file + diff --git a/src/Microsoft.IdentityModel.Protocols.SignedHttpRequest/SignedHttpRequestHandler.cs b/src/Microsoft.IdentityModel.Protocols.SignedHttpRequest/SignedHttpRequestHandler.cs index 98ee3bd623..73e215909c 100644 --- a/src/Microsoft.IdentityModel.Protocols.SignedHttpRequest/SignedHttpRequestHandler.cs +++ b/src/Microsoft.IdentityModel.Protocols.SignedHttpRequest/SignedHttpRequestHandler.cs @@ -301,7 +301,7 @@ internal virtual void AddQClaim(Dictionary payload, SignedHttpRe if (!firstQueryParam) stringBuffer.Append("&"); - stringBuffer.Append($"{queryParam.Key}={queryParam.Value}"); + stringBuffer.Append(queryParam.Key).Append('=').Append(queryParam.Value); queryParamNameList.Add(queryParam.Key); firstQueryParam = false; @@ -343,7 +343,7 @@ internal virtual void AddHClaim(Dictionary payload, SignedHttpRe if (!firstHeader) stringBuffer.Append(_newlineSeparator); - stringBuffer.Append($"{headerName}: {header.Value}"); + stringBuffer.Append(headerName).Append(": ").Append(header.Value); firstHeader = false; } @@ -848,7 +848,7 @@ internal virtual void ValidateQClaim(JsonWebToken signedHttpRequest, SignedHttpR if (!firstQueryParam) stringBuffer.Append("&"); - stringBuffer.Append($"{queryParamName}={queryParamsValue}"); + stringBuffer.Append(queryParamName).Append('=').Append(queryParamsValue); firstQueryParam = false; // remove the query param from the dictionary to mark it as covered. @@ -916,7 +916,7 @@ internal virtual void ValidateHClaim(JsonWebToken signedHttpRequest, SignedHttpR if (!firstHeader) stringBuffer.Append(_newlineSeparator); - stringBuffer.Append($"{headerName}: {headerValue}"); + stringBuffer.Append(headerName).Append(": ").Append(headerValue); firstHeader = false; // remove the header from the dictionary to mark it as covered. diff --git a/src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj b/src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj index ef494717db..4d940ed443 100644 --- a/src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj +++ b/src/Microsoft.IdentityModel.Tokens/Microsoft.IdentityModel.Tokens.csproj @@ -8,7 +8,6 @@ true Microsoft.IdentityModel.Tokens .NET;Windows;Authentication;Identity;SecurityTokens;Cryptographic operations;Signing;Verifying Signatures;Encryption - latest true diff --git a/test/Microsoft.IdentityModel.KeyVaultExtensions.Tests/Microsoft.IdentityModel.KeyVaultExtensions.Tests.csproj b/test/Microsoft.IdentityModel.KeyVaultExtensions.Tests/Microsoft.IdentityModel.KeyVaultExtensions.Tests.csproj index bb66189f8b..3c797af7a1 100644 --- a/test/Microsoft.IdentityModel.KeyVaultExtensions.Tests/Microsoft.IdentityModel.KeyVaultExtensions.Tests.csproj +++ b/test/Microsoft.IdentityModel.KeyVaultExtensions.Tests/Microsoft.IdentityModel.KeyVaultExtensions.Tests.csproj @@ -8,7 +8,6 @@ true Tests for Microsoft.IdentityModel.KeyVaultExtensions true - latest Microsoft.IdentityModel.KeyVaultExtensions.Tests true diff --git a/test/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests.csproj b/test/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests.csproj index d8983fadb1..d372f245e9 100644 --- a/test/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests.csproj +++ b/test/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests/Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests.csproj @@ -1,4 +1,4 @@ - + @@ -8,7 +8,6 @@ true Tests for Microsoft.IdentityModel.ManagedKeyVaultSecurityKey true - latest Microsoft.IdentityModel.ManagedKeyVaultSecurityKey.Tests true