|
ORE Studio 0.0.4
|
Represents a saved connection with credentials. More...
#include <connection.hpp>

Public Attributes | |
| boost::uuids::uuid | id |
| Unique identifier for this connection. | |
| std::optional< boost::uuids::uuid > | folder_id |
| Folder this connection belongs to. | |
| std::optional< boost::uuids::uuid > | environment_id |
| Environment this connection is linked to. | |
| std::string | name |
| Display name for this connection. | |
| std::optional< std::string > | host |
| Host name or IP address of the server. | |
| std::optional< int > | port |
| 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 connection. | |
Represents a saved connection with credentials.
A connection stores the credentials needed to authenticate to a server. When linked to an environment (via environment_id), the host and port are resolved live from the environment. When standalone, host and port are stored directly.
The encrypted_password field stores the AES-encrypted password. Use the connection_manager service to encrypt/decrypt passwords.
| std::optional<boost::uuids::uuid> folder_id |
Folder this connection belongs to.
If empty, the connection is at the root level.
| std::optional<boost::uuids::uuid> environment_id |
Environment this connection is linked to.
When set, host and port are resolved from the environment rather than from the host/port fields on this connection.
| std::optional<std::string> host |
Host name or IP address of the server.
Only used when environment_id is not set.
| std::optional<int> port |
Port number the server is listening on.
Only used when environment_id is not set.
| 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.