diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-12 18:37:40 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-12 18:37:40 -0800 |
commit | fb504a4573992f0ef7742f5c34e4e85a945b710c (patch) | |
tree | fb769c13b917a3d0bd32db0c22e79bb8d5d459c6 /samples/OAuthAuthorizationServer/Code/Client.cs | |
parent | 7bf63044b1a48dc6f1df95c63431e8130940595d (diff) | |
download | DotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.zip DotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.tar.gz DotNetOpenAuth-fb504a4573992f0ef7742f5c34e4e85a945b710c.tar.bz2 |
Renamed IConsumerDescription to IClientDescription.
Diffstat (limited to 'samples/OAuthAuthorizationServer/Code/Client.cs')
-rw-r--r-- | samples/OAuthAuthorizationServer/Code/Client.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/Client.cs b/samples/OAuthAuthorizationServer/Code/Client.cs index b32bb15..ce52008 100644 --- a/samples/OAuthAuthorizationServer/Code/Client.cs +++ b/samples/OAuthAuthorizationServer/Code/Client.cs @@ -7,13 +7,13 @@ /// <summary> /// An OAuth 2.0 Client that has registered with this Authorization Server. /// </summary> - 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; } } @@ -24,7 +24,7 @@ /// <value> /// An absolute URL; or <c>null</c> if none is registered. /// </value> - Uri IConsumerDescription.DefaultCallback { + Uri IClientDescription.DefaultCallback { get { return string.IsNullOrEmpty(this.Callback) ? null : new Uri(this.Callback); } } @@ -36,7 +36,7 @@ /// <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) { if (string.IsNullOrEmpty(this.Callback)) { // No callback rules have been set up for this client. return true; |