Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) throws URISyntaxException, IOException, NoSuchAlgorithmException {
- ZSSO ssoAuth = new ZSSO();
- Data data = new Data();
- ScopesHandler sh = new ScopesHandler();
- String state = "aj2nzcr6a9tu2ag";
- String mscope = sh.SCOPES[0][1];
- String randomString = data.encode(data.generate());
- URI authSite = new URI("https://login.eveonline.com/v2/oauth/authorize/" + ssoAuth.RESPONSE_TYPE + ssoAuth.REDIRECT + ssoAuth.CLIENT_ID_URL + ssoAuth.CLIENT_ID + ssoAuth.SCOPE + "esi-markets.read_character_orders.v1" + ssoAuth.CODE_CHALLENGE + randomString + ssoAuth.CHALLENGE_METHOD + ssoAuth.STATE + state);
- System.out.println(authSite);
- ssoAuth.sendAuth(authSite);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement