summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r--Juick/APIClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h
index 0f4c9d1..1329868 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -21,7 +21,7 @@
-(void) postPMToUser:(NSString *)uname text:(NSString *)text result:(void(^)(NSError *))callback;
-(void) fetchChats:(void(^)(NSArray *, NSError *))callback;
-(void) fetchChatWithUser:(NSString *)uname callback:(void(^)(NSArray *, NSError *))callback;
--(void) authenticate:(void(^)(BOOL))callback;
+-(void) authenticate:(void(^)(User *, NSError *))callback;
-(void) refreshDeviceRegistration:(DeviceRegistration *)registrationData callback:(void(^)(BOOL))callback;
-(void) getUserByName:(NSString *) name callback:(void(^)(User *))callback;
-(BOOL) isAuthenticated;