Skip to content

Commit

Permalink
Add user auth to sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
jjburka committed Feb 27, 2009
1 parent f125c45 commit ff675e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/objective_resourceAppDelegate.m
Expand Up @@ -18,6 +18,9 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application {
//Configure ObjectiveResource
[ObjectiveResourceConfig setSite:@"http://localhost:3000/"];

// dogs is password protected
[ObjectiveResourceConfig setUser:@"Hiro"];
[ObjectiveResourceConfig setPassword:@"Protagonist"];
// use json
//[ObjectiveResourceConfig setResponseType:JSONResponse];

Expand Down

0 comments on commit ff675e3

Please sign in to comment.