Skip to content

Commit ea9abae

Browse files
author
Hovsep Mkrtchyan
committed
Referencing latest Authentication client.
1 parent b770452 commit ea9abae

File tree

343 files changed

+536
-553
lines changed

Some content is hidden

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

343 files changed

+536
-553
lines changed

setup/azurecmdfiles.wxi

Lines changed: 20 additions & 20 deletions
Large diffs are not rendered by default.

src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
<SpecificVersion>False</SpecificVersion>
5757
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll</HintPath>
5858
</Reference>
59-
<Reference Include="Microsoft.Azure.Common.Authorization, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
59+
<Reference Include="Microsoft.Azure.Common.Authentication">
6060
<SpecificVersion>False</SpecificVersion>
61-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authorization.0.15.0-preview\lib\net45\Microsoft.Azure.Common.Authorization.dll</HintPath>
61+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6262
</Reference>
6363
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6464
<SpecificVersion>False</SpecificVersion>

src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
using System;
1616
using System.Collections.Generic;
1717
using Microsoft.WindowsAzure.Commands.Common;
18-
using Microsoft.Azure.Common.Authorization.Models;
18+
using Microsoft.Azure.Common.Authentication.Models;
1919
using Microsoft.WindowsAzure.Commands.Common.Storage;
2020
using Microsoft.WindowsAzure.Management.Storage;
2121
using Microsoft.WindowsAzure.Storage;
22-
using Microsoft.Azure.Common.Authorization;
22+
using Microsoft.Azure.Common.Authentication;
2323

2424
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
2525
{

src/Common/Commands.Common.Storage/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package id="Hyak.Common" version="1.0.1" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.0.1" targetFramework="net45" />
55
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
6-
<package id="Microsoft.Azure.Common.Authorization" version="0.15.0-preview" targetFramework="net45" />
6+
<package id="Microsoft.Azure.Common.Authentication" version="1.0.0-preview" targetFramework="net45" />
77
<package id="Microsoft.Azure.Management.Resources" version="2.12.0-preview" targetFramework="net45" />
88
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
99
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />

src/Common/Commands.Common.Test/Commands.Common.Test.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
<Reference Include="Microsoft.Azure.Common">
5555
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll</HintPath>
5656
</Reference>
57-
<Reference Include="Microsoft.Azure.Common.Authorization, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
57+
<Reference Include="Microsoft.Azure.Common.Authentication">
5858
<SpecificVersion>False</SpecificVersion>
59-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authorization.0.15.0-preview\lib\net45\Microsoft.Azure.Common.Authorization.dll</HintPath>
59+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6060
</Reference>
6161
<Reference Include="Microsoft.Azure.Common.NetFramework">
6262
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
@@ -77,13 +77,13 @@
7777
<Reference Include="Microsoft.Data.Services.Client, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7878
<HintPath>..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll</HintPath>
7979
</Reference>
80-
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
80+
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8181
<SpecificVersion>False</SpecificVersion>
82-
<HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath>
82+
<HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath>
8383
</Reference>
84-
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms, Version=2.11.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
84+
<Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms, Version=2.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8585
<SpecificVersion>False</SpecificVersion>
86-
<HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
86+
<HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
8787
</Reference>
8888
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
8989
<SpecificVersion>False</SpecificVersion>

src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
using System.Collections.Generic;
1616
using Xunit;
1717
using System;
18-
using Microsoft.Azure.Common.Authorization.Factories;
18+
using Microsoft.Azure.Common.Authentication.Factories;
1919
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
20-
using Microsoft.Azure.Common.Authorization.Authentication;
21-
using Microsoft.Azure.Common.Authorization.Models;
20+
using Microsoft.Azure.Common.Authentication;
21+
using Microsoft.Azure.Common.Authentication.Models;
2222

2323
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
2424
{

src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System.Collections.Generic;
1616
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1717
using Xunit;
18-
using Microsoft.Azure.Common.Authorization;
18+
using Microsoft.Azure.Common.Authentication;
1919

2020
namespace Microsoft.WindowsAzure.Commands.Common.Test
2121
{

src/Common/Commands.Common.Test/Common/Data.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2222
using Microsoft.WindowsAzure.Commands.Common;
23-
using Microsoft.Azure.Common.Authorization;
23+
using Microsoft.Azure.Common.Authentication;
2424

2525
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
2626
{

src/Common/Commands.Common.Test/Common/GeneralTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.IO;
1717
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1818
using Xunit;
19-
using Microsoft.Azure.Common.Authorization;
19+
using Microsoft.Azure.Common.Authentication;
2020

2121
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
2222
{

src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using Newtonsoft.Json;
2020
using Newtonsoft.Json.Linq;
2121
using Xunit;
22-
using Microsoft.Azure.Common.Authorization;
22+
using Microsoft.Azure.Common.Authentication;
2323

2424
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
2525
{

src/Common/Commands.Common.Test/Common/ProfileClientTests.cs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using System;
16-
using System.Collections.Generic;
17-
using System.IO;
18-
using System.Linq;
15+
using Microsoft.Azure.Common.Authentication;
16+
using Microsoft.Azure.Common.Authentication.Models;
1917
using Microsoft.Azure.Subscriptions.Models;
20-
using Microsoft.Azure.Common.Authorization.Models;
2118
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
2219
using Microsoft.WindowsAzure.Commands.Profile;
2320
using Microsoft.WindowsAzure.Commands.Utilities.Common;
24-
using Microsoft.Azure.Common.Authorization.Authentication;
21+
using System;
22+
using System.Collections.Generic;
23+
using System.Linq;
2524
using Xunit;
26-
using Microsoft.Azure.Common.Authorization;
2725

2826
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
2927
{
@@ -1441,7 +1439,7 @@ private void SetMockData()
14411439
oldProfileDataPath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile);
14421440
oldProfileDataPathError = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFileBackup);
14431441
oldProfileData = @"<?xml version=""1.0"" encoding=""utf-8""?>
1444-
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authorization"">
1442+
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authentication"">
14451443
<DefaultEnvironmentName>AzureCloud</DefaultEnvironmentName>
14461444
<Environments>
14471445
<AzureEnvironmentData>
@@ -1550,7 +1548,7 @@ private void SetMockData()
15501548
</ProfileData>";
15511549

15521550
oldProfileDataBadSubscription = @"<?xml version=""1.0"" encoding=""utf-8""?>
1553-
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authorization"">
1551+
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authentication"">
15541552
<DefaultEnvironmentName>AzureCloud</DefaultEnvironmentName>
15551553
<Environments>
15561554
</Environments>
@@ -1631,7 +1629,7 @@ private void SetMockData()
16311629
</ProfileData>";
16321630

16331631
oldProfileDataCorruptedFile = @"<?xml version=""1.0"" encoding=""utf-8""?>
1634-
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authorization"">
1632+
<ProfileData xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"" xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.Azure.Common.Authentication"">
16351633
<DefaultEnvironmentName>AzureCloud</DefaultEnvironmentName>
16361634
<Environments bad>
16371635
<AzureEnvironmentData>

src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,20 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15+
using Microsoft.Azure.Common.Authentication;
16+
using Microsoft.Azure.Common.Authentication.Models;
17+
using Microsoft.IdentityModel.Clients.ActiveDirectory;
18+
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
19+
using Microsoft.WindowsAzure.Commands.Profile;
20+
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1521
using System;
1622
using System.Collections.Generic;
1723
using System.IO;
1824
using System.Linq;
1925
using System.Management.Automation;
20-
using System.Management.Automation.Language;
2126
using System.Reflection;
2227
using System.Security.Cryptography.X509Certificates;
23-
using System.Text;
24-
using Microsoft.IdentityModel.Clients.ActiveDirectory;
25-
using Microsoft.Azure.Common.Authorization.Models;
26-
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
27-
using Microsoft.WindowsAzure.Commands.Profile;
28-
using Microsoft.WindowsAzure.Commands.Utilities.Common;
29-
using Microsoft.Azure.Common.Authorization.Authentication;
30-
using Moq;
3128
using Xunit;
32-
using Microsoft.Azure.Common.Authorization;
3329

3430
namespace Microsoft.WindowsAzure.Commands.Common.Test.Common
3531
{

src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization;
15+
using Microsoft.Azure.Common.Authentication;
1616
using Microsoft.WindowsAzure.Commands.Common;
1717

1818
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common

src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization.Authentication;
15+
using Microsoft.Azure.Common.Authentication;
1616
using System;
1717
using System.Runtime.InteropServices;
1818
using System.Security;

src/Common/Commands.Common.Test/Common/TestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
using System.Collections.Generic;
1717
using Microsoft.VisualStudio.TestTools.UnitTesting;
1818
using Microsoft.WindowsAzure.Commands.Common;
19-
using Microsoft.Azure.Common.Authorization.Models;
19+
using Microsoft.Azure.Common.Authentication.Models;
2020
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
22-
using Microsoft.Azure.Common.Authorization;
22+
using Microsoft.Azure.Common.Authentication;
2323

2424
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
2525
{

src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using System;
16-
using Microsoft.Azure.Common.Authorization.Authentication;
16+
using Microsoft.Azure.Common.Authentication;
1717

1818
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
1919
{

src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using System.Security;
16-
using Microsoft.Azure.Common.Authorization.Models;
16+
using Microsoft.Azure.Common.Authentication.Models;
1717
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
18-
using Microsoft.Azure.Common.Authorization.Authentication;
18+
using Microsoft.Azure.Common.Authentication;
1919

2020
namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
2121
{

src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Microsoft.Azure;
16-
using Microsoft.Azure.Common.Authorization;
17-
using Microsoft.Azure.Common.Authorization.Authentication;
18-
using Microsoft.Azure.Common.Authorization.Models;
16+
using Microsoft.Azure.Common.Authentication;
17+
using Microsoft.Azure.Common.Authentication.Models;
1918
using System.Security;
2019
using System.Security.Cryptography.X509Certificates;
2120

src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
using Hyak.Common;
2323
using Microsoft.Azure.Test.HttpRecorder;
2424
using Microsoft.Azure.Common;
25-
using Microsoft.Azure.Common.Authorization.Factories;
26-
using Microsoft.Azure.Common.Authorization.Models;
27-
using Microsoft.Azure.Common.Authorization;
25+
using Microsoft.Azure.Common.Authentication.Factories;
26+
using Microsoft.Azure.Common.Authentication.Models;
27+
using Microsoft.Azure.Common.Authentication;
2828
using Microsoft.Azure;
2929

3030
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks

src/Common/Commands.Common.Test/Mocks/MockDataStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Security.Cryptography.X509Certificates;
2020
using System.Text;
2121
using System.Text.RegularExpressions;
22-
using Microsoft.Azure.Common.Authorization.Interfaces;
22+
using Microsoft.Azure.Common.Authentication;
2323

2424
namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
2525
{

src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Microsoft.Azure;
16-
using Microsoft.Azure.Common.Authorization;
17-
using Microsoft.Azure.Common.Authorization.Authentication;
18-
using Microsoft.Azure.Common.Authorization.Models;
16+
using Microsoft.Azure.Common.Authentication;
17+
using Microsoft.Azure.Common.Authentication.Models;
1918
using System;
2019
using System.Security;
2120

src/Common/Commands.Common.Test/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package id="Hyak.Common" version="1.0.1" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.0.1" targetFramework="net45" />
55
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
6-
<package id="Microsoft.Azure.Common.Authorization" version="0.15.0-preview" targetFramework="net45" />
6+
<package id="Microsoft.Azure.Common.Authentication" version="1.0.0-preview" targetFramework="net45" />
77
<package id="Microsoft.Azure.Management.Resources" version="2.12.0-preview" targetFramework="net45" />
88
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5486.28526-prerelease" targetFramework="net45" />
99
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
@@ -12,7 +12,7 @@
1212
<package id="Microsoft.Data.Edm" version="5.6.0" targetFramework="net45" />
1313
<package id="Microsoft.Data.OData" version="5.6.0" targetFramework="net45" />
1414
<package id="Microsoft.Data.Services.Client" version="5.6.0" targetFramework="net45" />
15-
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.11.10918.1222" targetFramework="net45" />
15+
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.12.111071459" targetFramework="net45" />
1616
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
1717
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
1818
<package id="Microsoft.WindowsAzure.Management" version="4.0.0" targetFramework="net45" />

src/Common/Commands.Common/AzurePSCmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization;
16-
using Microsoft.Azure.Common.Authorization.Models;
15+
using Microsoft.Azure.Common.Authentication;
16+
using Microsoft.Azure.Common.Authentication.Models;
1717
using Microsoft.WindowsAzure.Commands.Common;
1818
using Microsoft.WindowsAzure.Commands.Common.Properties;
1919
using System;

src/Common/Commands.Common/AzurePowerShell.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization.Properties;
15+
using Microsoft.Azure.Common.Authentication.Properties;
1616
using System;
1717
using System.IO;
1818
using System.Net.Http.Headers;

src/Common/Commands.Common/CloudBaseCmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization;
16-
using Microsoft.Azure.Common.Authorization.Models;
15+
using Microsoft.Azure.Common.Authentication;
16+
using Microsoft.Azure.Common.Authentication.Models;
1717
using Microsoft.WindowsAzure.Commands.Common.Properties;
1818
using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
1919
using System;

src/Common/Commands.Common/Commands.Common.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
<SpecificVersion>False</SpecificVersion>
5959
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll</HintPath>
6060
</Reference>
61-
<Reference Include="Microsoft.Azure.Common.Authorization, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
61+
<Reference Include="Microsoft.Azure.Common.Authentication">
6262
<SpecificVersion>False</SpecificVersion>
63-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authorization.0.15.0-preview\lib\net45\Microsoft.Azure.Common.Authorization.dll</HintPath>
63+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6666
<SpecificVersion>False</SpecificVersion>

src/Common/Commands.Common/GeneralUtilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Hyak.Common;
16-
using Microsoft.Azure.Common.Authorization;
17-
using Microsoft.Azure.Common.Authorization.Properties;
16+
using Microsoft.Azure.Common.Authentication;
17+
using Microsoft.Azure.Common.Authentication.Properties;
1818
using Microsoft.WindowsAzure.Commands.Common;
1919
using System;
2020
using System.Collections.Generic;

src/Common/Commands.Common/HttpClientExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// ----------------------------------------------------------------------------------
1414

1515

16-
using Microsoft.Azure.Common.Authorization;
16+
using Microsoft.Azure.Common.Authentication;
1717
using Microsoft.WindowsAzure.Commands.Common;
1818
using Newtonsoft.Json;
1919
using System;

src/Common/Commands.Common/PSAzureAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Common.Authorization.Models
15+
namespace Microsoft.Azure.Common.Authentication.Models
1616
{
1717
public class PSAzureAccount
1818
{

src/Common/Commands.Common/ProfileClientExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Common.Authorization.Models;
15+
using Microsoft.Azure.Common.Authentication.Models;
1616

1717
namespace Microsoft.WindowsAzure.Commands.Common
1818
{

0 commit comments

Comments
 (0)