Authentication
This library requires you to authenticate to G-PORTAL to interact with your Rust Console community server(s), so this step is mandatory!
Authenticating
Don't worry! Your GPORTAL credentials are not stored and are only accessible in your own code. Your credentials are used to get the initial set of authentication tokens from GPORTAL.
import { RCEManager, LogLevel } from "rce.js";
const rce = new RCEManager();
await rce.init({
username: "", // Your GPORTAL email address
password: "" // Your GPORTAL password
}, {
level: LogLevel.Info,
file: "rce.log"
});
Last updated