message: return promise to track the process
diff: @@ -72,7 +72,6 @@ export namespace Auth {
  req.write(payload);
  req.end();
  });
  -
  }
  function requestAndHandleResponse(api: API, payload: any, path: string): Promise<Auth> {
  @@ -150,8 +149,8 @@ export namespace Auth {
  * @param option The tokens
  * @param api The API of the auth server
  */
  - export function invalide(option: { accessToken: string, clientToken: string }, api: API = API_MOJANG): void {
  - request(api, option, api.invalidate);
  + export function invalide(option: { accessToken: string, clientToken: string }, api: API = API_MOJANG): Promise<void> {
  + return request(api, option, api.invalidate).then(() => undefined);
  }
  /**
  * Signout user by username and password
  