Advertisement
BigTallahasee

Untitled

Sep 9th, 2022 (edited)
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1.     public static void main(String[] args) throws URISyntaxException, IOException, NoSuchAlgorithmException {
  2.         ZSSO ssoAuth = new ZSSO();
  3.         Data data = new Data();
  4.         ScopesHandler sh = new ScopesHandler();
  5.  
  6.         String state = "aj2nzcr6a9tu2ag";
  7.         String mscope = sh.SCOPES[0][1];
  8.         String randomString = data.encode(data.generate());
  9.  
  10.         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);
  11.  
  12.         System.out.println(authSite);
  13.  
  14.         ssoAuth.sendAuth(authSite);
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement