Skip to content

Commit

Permalink
Fix typo in GoogleJwtClient (#1394)
Browse files Browse the repository at this point in the history
s/singed/signed/
  • Loading branch information
ulfjack authored and averikitsch committed Jun 11, 2019
1 parent 0b7a23c commit 1e377fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public static String generateJwt(final String saKeyfile, final String saEmail,
/**
* Makes an authorized request to the endpoint.
*/
public static String makeJwtRequest(final String singedJwt, final URL url)
public static String makeJwtRequest(final String signedJwt, final URL url)
throws IOException, ProtocolException {

HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET");
con.setRequestProperty("Content-Type", "application/json");
con.setRequestProperty("Authorization", "Bearer " + singedJwt);
con.setRequestProperty("Authorization", "Bearer " + signedJwt);

InputStreamReader reader = new InputStreamReader(con.getInputStream());
BufferedReader buffReader = new BufferedReader(reader);
Expand Down

0 comments on commit 1e377fa

Please sign in to comment.