ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
server_environment Struct Referencefinal

Represents a server connection/environment configuration. More...

#include <server_environment.hpp>

Collaboration diagram for server_environment:
Collaboration graph

Public Attributes

boost::uuids::uuid id
 Unique identifier for this environment.
 
std::optional< boost::uuids::uuid > folder_id
 Folder this environment belongs to.
 
std::string name
 Display name for this environment.
 
std::string host
 Host name or IP address of the server.
 
int port = 0
 Port number the server is listening on.
 
std::string username
 Username for authentication.
 
std::string encrypted_password
 Encrypted password for authentication.
 
std::string description
 Optional description or notes about this environment.
 

Detailed Description

Represents a server connection/environment configuration.

A server environment stores all the details needed to connect to a remote server instance. Environments are organized into folders and can be tagged for flexible categorization.

The password field stores the encrypted form of the password. Use the connection_manager service to encrypt/decrypt passwords.

Member Data Documentation

◆ folder_id

std::optional<boost::uuids::uuid> folder_id

Folder this environment belongs to.

If empty, the environment is at the root level.

◆ encrypted_password

std::string encrypted_password

Encrypted password for authentication.

This field stores the AES-encrypted password. Use the connection_manager service to encrypt passwords before storing and decrypt when connecting.