Permalink
Browse files

added sample usage to description

  • Loading branch information...
1 parent 41e8b77 commit 71f6812e07938bc0c8cae2d7fee8b12e627fcedb @rodsimpson rodsimpson committed Feb 1, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 UGAPI/UGClient.h
View
11 UGAPI/UGClient.h
@@ -75,6 +75,17 @@ set the response limit in UGQuery as well.
-(UGClientResponse *)logInUserWithPin: (NSString *)userName pin:(NSString *)pin;
// log in user with Facebook token
+//
+// //sample usage:
+// NSString * facebookToken = @"your-facebook-token";
+// UGClientResponse *response = [usergridClient logInUserWithFacebook:facebookToken];
+// user = [usergridClient getLoggedInUser];
+// if (user.username){
+// return true;
+// } else {
+// return false;
+// }
+//
-(UGClientResponse *)logInUserWithFacebook: (NSString *)facebookToken;
// log in as the administrator of the application. Generally used for applications

0 comments on commit 71f6812

Please sign in to comment.