var auth = new lix.Auth();
trace(auth.isSignedIn());
var auth = new lix.Auth();
auth.getSession().handle(function(o) trace(o.sure()));
var auth = new lix.Auth();
var remote = new lix.Remote(
#if (environment == "local") new NodeClient() #else new SecureNodeClient() #end,
() -> auth.getSession().next(session -> session.idToken)
);
// try it:
remote.version().handle(o -> trace(o.sure()));
var submitter = new lix.Submitter(remote, new archive.zip.NodeZip(), archive.scanner.AsysScanner.new.bind(_, ''));
submitter.submit(Sys.getCwd()).handle(o -> trace(o.sure()));