code: private Identity fetch(final String token) throws IOException {
          // @checkstyle LineLength (1 line)
          final String uri = new Href(this.gapi).path("plus").path("v1")
              .path("people")
              .path("me")
              .with(PsGoogle.ACCESS_TOKEN, token)
              .toString();
          final JsonObject json = new JdkRequest(uri).fetch()
              .as(JsonResponse.class).json()
              .readObject();
          if (json.containsKey(PsGoogle.ERROR)) {
              throw new HttpException(
                  HttpURLConnection.HTTP_BAD_REQUEST,
                  String.format(
                      "could not retrieve id from Google, possible cause: %s.",
                      json.getJsonObject(PsGoogle.ERROR).get("message")
                  )
              );
          }
          return PsGoogle.parse(json);
      }
docs: Get user name from Google, with the token provided.
  @param token Google access token
  @return The user found in Google
  @throws IOException If fails