Package net.runelite.client.rs.auth
Class JagexAuthClient
- java.lang.Object
-
- net.runelite.client.rs.auth.JagexAuthClient
-
@Singleton public class JagexAuthClient extends Object
-
-
Constructor Summary
Constructors Constructor Description JagexAuthClient(okhttp3.OkHttpClient client, com.google.gson.Gson gson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account[]getAccounts(String sessionId)StringgetSessionId(String idToken)
-
-
-
Method Detail
-
getSessionId
public String getSessionId(String idToken) throws IOException
- Throws:
IOException
-
getAccounts
public Account[] getAccounts(String sessionId) throws IOException
- Throws:
IOException
-
-