summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.Client.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-02-12 18:37:40 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-02-12 18:37:40 -0800
commitfb504a4573992f0ef7742f5c34e4e85a945b710c (patch)
treefb769c13b917a3d0bd32db0c22e79bb8d5d459c6 /projecttemplates/RelyingPartyLogic/Model.Client.cs
parent7bf63044b1a48dc6f1df95c63431e8130940595d (diff)
downloadDotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.zip
DotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.tar.gz
DotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.tar.bz2
Renamed IConsumerDescription to IClientDescription.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.Client.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.Client.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.Client.cs b/projecttemplates/RelyingPartyLogic/Model.Client.cs
index 0052b0c..42f6274 100644
--- a/projecttemplates/RelyingPartyLogic/Model.Client.cs
+++ b/projecttemplates/RelyingPartyLogic/Model.Client.cs
@@ -10,13 +10,13 @@ namespace RelyingPartyLogic {
using DotNetOpenAuth.OAuth2;
- public partial class Client : IConsumerDescription {
+ public partial class Client : IClientDescription {
#region IConsumerDescription Members
/// <summary>
/// Gets the client secret.
/// </summary>
- string IConsumerDescription.Secret {
+ string IClientDescription.Secret {
get { return this.ClientSecret; }
}
@@ -27,7 +27,7 @@ namespace RelyingPartyLogic {
/// <value>
/// An absolute URL; or <c>null</c> if none is registered.
/// </value>
- Uri IConsumerDescription.DefaultCallback {
+ Uri IClientDescription.DefaultCallback {
get { return string.IsNullOrEmpty(this.CallbackAsString) ? null : new Uri(this.CallbackAsString); }
}
@@ -39,7 +39,7 @@ namespace RelyingPartyLogic {
/// <returns>
/// <c>true</c> if the callback URL is allowable for this client; otherwise, <c>false</c>.
/// </returns>
- bool IConsumerDescription.IsCallbackAllowed(Uri callback) {
+ bool IClientDescription.IsCallbackAllowed(Uri callback) {
return string.IsNullOrEmpty(this.CallbackAsString) || callback == new Uri(this.CallbackAsString);
}