Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 06d996e

Browse files
kunall17niftynei
authored andcommitted
Implement PushTask to get backends from server
1 parent 4122adf commit 06d996e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.zulip.android.networking;
2+
3+
import com.zulip.android.ZulipApp;
4+
5+
public class AsyncGetBackends extends ZulipAsyncPushTask {
6+
7+
public AsyncGetBackends(ZulipApp app) {
8+
super(app);
9+
}
10+
11+
//Json Format - {"msg":"","password":false,"google":false,"result":"success","dev":true}
12+
public final void execute() {
13+
execute("POST", "v1/get_auth_backends");
14+
}
15+
}

0 commit comments

Comments
 (0)