diff options
author | Vitaly Takmazov | 2019-03-21 13:48:40 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-21 14:08:59 +0300 |
commit | 2ddd7f7964d09236b43485c795970038dd1c309f (patch) | |
tree | 74f3aa2d9022542bad2e1450ab374e38a2312f77 /Juick/APIClient.h | |
parent | 6cab755f3a9308991d52b1870bad28af5edb297c (diff) |
New login API
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r-- | Juick/APIClient.h | 2 |
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; |