/** * @param string $username * @param string $token Users authentication token OR password if 2FA is not enabled * @return void */ public static function authenticateUser($username, $token) { self::$authUser = "******"; self::$authenticatedUser = true; }