Skip to content

Commit 002ce0e

Browse files
committed
Replaces DNOA's internal Requires class with Validation NuGet package.
1 parent 4bf6dfa commit 002ce0e

316 files changed

Lines changed: 859 additions & 433 deletions

File tree

Some content is hidden

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

src/DotNetOpenAuth.AspNet/Clients/OAuth/DotNetOpenAuthWebConsumer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1212
using DotNetOpenAuth.OAuth;
1313
using DotNetOpenAuth.OAuth.ChannelElements;
1414
using DotNetOpenAuth.OAuth.Messages;
15+
using Validation;
1516

1617
/// <summary>
1718
/// The dot net open auth web consumer.

src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1010
using DotNetOpenAuth.OAuth;
1111
using DotNetOpenAuth.OAuth.ChannelElements;
1212
using DotNetOpenAuth.OAuth.Messages;
13+
using Validation;
1314

1415
/// <summary>
1516
/// An implementation of IOAuthTokenManager which stores keys in memory.

src/DotNetOpenAuth.AspNet/Clients/OAuth/OAuthClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1616
using DotNetOpenAuth.OAuth;
1717
using DotNetOpenAuth.OAuth.ChannelElements;
1818
using DotNetOpenAuth.OAuth.Messages;
19+
using Validation;
1920

2021
/// <summary>
2122
/// Represents base class for OAuth 1.0 clients

src/DotNetOpenAuth.AspNet/Clients/OAuth/SimpleConsumerTokenManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace DotNetOpenAuth.AspNet.Clients {
88
using System;
99
using DotNetOpenAuth.OAuth.ChannelElements;
10+
using Validation;
1011

1112
/// <summary>
1213
/// Simple wrapper around IConsumerTokenManager

src/DotNetOpenAuth.AspNet/Clients/OAuth2/FacebookClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1111
using System.Net;
1212
using System.Web;
1313
using DotNetOpenAuth.Messaging;
14+
using Validation;
1415

1516
/// <summary>
1617
/// The facebook client.

src/DotNetOpenAuth.AspNet/Clients/OAuth2/JsonHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
88
using System;
99
using System.IO;
1010
using System.Runtime.Serialization.Json;
11+
using Validation;
1112

1213
/// <summary>
1314
/// The json helper.

src/DotNetOpenAuth.AspNet/Clients/OAuth2/MicrosoftClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1010
using System.IO;
1111
using System.Net;
1212
using DotNetOpenAuth.Messaging;
13+
using Validation;
1314

1415
/// <summary>
1516
/// The Microsoft account client.

src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
99
using System.Collections.Generic;
1010
using System.Diagnostics.CodeAnalysis;
1111
using System.Web;
12+
using Validation;
1213

1314
/// <summary>
1415
/// Represents the base class for OAuth 2.0 clients

src/DotNetOpenAuth.AspNet/Clients/OpenID/OpenIDClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace DotNetOpenAuth.AspNet.Clients {
1212
using DotNetOpenAuth.Messaging;
1313
using DotNetOpenAuth.OpenId;
1414
using DotNetOpenAuth.OpenId.RelyingParty;
15+
using Validation;
1516

1617
/// <summary>
1718
/// Base classes for OpenID clients.

src/DotNetOpenAuth.AspNet/DotNetOpenAuth.AspNet.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
<Reference Include="Microsoft.CSharp" />
4141
<Reference Include="System.Data" />
4242
<Reference Include="System.Xml" />
43+
<Reference Include="Validation, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2fc06f0d701809a7, processorArchitecture=MSIL">
44+
<SpecificVersion>False</SpecificVersion>
45+
<HintPath>..\packages\Validation.2.0.0.12319\lib\portable-windows8+net40+sl5+windowsphone8\Validation.dll</HintPath>
46+
</Reference>
4347
</ItemGroup>
4448
<ItemGroup>
4549
<Compile Include="AuthenticationResult.cs" />
@@ -108,6 +112,9 @@
108112
<Name>DotNetOpenAuth.OpenId</Name>
109113
</ProjectReference>
110114
</ItemGroup>
115+
<ItemGroup>
116+
<None Include="packages.config" />
117+
</ItemGroup>
111118
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
112119
<Import Project="$(ProjectRoot)tools\DotNetOpenAuth.targets" />
113120
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " />

0 commit comments

Comments
 (0)