public class APIUtils extends Object
| Constructor and Description |
|---|
APIUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getAuthenticationTokens(String useMangoUrl,
String email,
String password) |
static List<Project> |
getProjects(String useMangoUrl,
String idToken) |
static TestIndexResponse |
getTestIndex(String useMangoUrl,
TestIndexParams params,
String idToken) |
static String |
refreshIdToken(String useMangoUrl,
String refreshToken) |
public static String[] getAuthenticationTokens(String useMangoUrl, String email, String password) throws UseMangoException, IOException
UseMangoExceptionIOExceptionpublic static String refreshIdToken(String useMangoUrl, String refreshToken) throws IOException, UseMangoException
IOExceptionUseMangoExceptionpublic static TestIndexResponse getTestIndex(String useMangoUrl, TestIndexParams params, String idToken) throws IOException
IOExceptionpublic static List<Project> getProjects(String useMangoUrl, String idToken) throws IOException
IOExceptionCopyright © 2016–2019. All rights reserved.