summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-21 13:48:40 +0300
committerGravatar Vitaly Takmazov2019-03-21 14:08:59 +0300
commit2ddd7f7964d09236b43485c795970038dd1c309f (patch)
tree74f3aa2d9022542bad2e1450ab374e38a2312f77 /Juick/APIClient.h
parent6cab755f3a9308991d52b1870bad28af5edb297c (diff)
New login API
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;