Permalink
Browse files

Added default GetApi call for unprotected resources

  • Loading branch information...
1 parent 1738ac1 commit f6d5fb823a6c0c23f788a30ba174bfcd93b1bb9d @scottksmith95 committed Apr 17, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 CSharp.Geeklist/Connect/GeeklistServiceProvider.cs
@@ -44,6 +44,15 @@ public GeeklistServiceProvider(string consumerKey, string consumerSecret)
{
}
+ /// <summary>
+ /// Returns an API interface allowing the client application to access unprotected resources.
+ /// </summary>
+ /// <returns>A binding to the service provider's API.</returns>
+ public IGeeklist GetAPi()
+ {
+ return new GeeklistTemplate();
+ }
+
/// <summary>
/// Returns an API interface allowing the client application to access protected resources on behalf of a user.
/// </summary>

0 comments on commit f6d5fb8

Please sign in to comment.