code: public static final void signAuthToken(AuthToken token) {
          String signature = generateSignature(token);
          token.setSignature(signature);
      }
docs: Adds a digital signature to the auth token.
  @param token the auth token