summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/App_Code/OAuthToken.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-09-09 07:04:26 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-09-09 07:04:26 -0700
commit637fb7dd7c44f4a36e45bc18122cf035038c775f (patch)
tree1ef5f741c76b06fb1c2ecc0ebe1e64053a40d9f2 /samples/OAuthServiceProvider/App_Code/OAuthToken.cs
parentc0f1c849e0ee21f3d7f126cd7b56fb4d3bfaf3ce (diff)
parent6513d4d2b23e925d12b79e3864ea610c538a48e9 (diff)
downloadDotNetOpenAuth-637fb7dd7c44f4a36e45bc18122cf035038c775f.zip
DotNetOpenAuth-637fb7dd7c44f4a36e45bc18122cf035038c775f.tar.gz
DotNetOpenAuth-637fb7dd7c44f4a36e45bc18122cf035038c775f.tar.bz2
Merge branch 'v3.2' into gsa
Diffstat (limited to 'samples/OAuthServiceProvider/App_Code/OAuthToken.cs')
-rw-r--r--samples/OAuthServiceProvider/App_Code/OAuthToken.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthServiceProvider/App_Code/OAuthToken.cs b/samples/OAuthServiceProvider/App_Code/OAuthToken.cs
index fc1d6c5..ea18b2b 100644
--- a/samples/OAuthServiceProvider/App_Code/OAuthToken.cs
+++ b/samples/OAuthServiceProvider/App_Code/OAuthToken.cs
@@ -26,7 +26,7 @@ public partial class OAuthToken : IServiceProviderRequestToken, IServiceProvider
}
Uri IServiceProviderRequestToken.Callback {
- get { return new Uri(this.RequestTokenCallback); }
+ get { return string.IsNullOrEmpty(this.RequestTokenCallback) ? null : new Uri(this.RequestTokenCallback); }
set { this.RequestTokenCallback = value.AbsoluteUri; }
}