summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs b/src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs
index 3bb6ffc..5c040e3 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/Configuration/OAuth2ClientSection.cs
@@ -8,6 +8,7 @@ namespace DotNetOpenAuth.Configuration {
using System;
using System.Configuration;
using System.Diagnostics.Contracts;
+ using Validation;
/// <summary>
/// Represents the &lt;oauth2/client&gt; section in the host's .config file.
@@ -53,7 +54,7 @@ namespace DotNetOpenAuth.Configuration {
}
set {
- Requires.InRange(value > TimeSpan.Zero, "value");
+ Requires.Range(value > TimeSpan.Zero, "value");
this[MaxAuthorizationTimePropertyName] = value;
}
}