FIRST :: Configuration¶
-
class
first_plugin_ida.first.
FIRST
[source] -
class
Configuration
(config=None)[source] Class containing configuration details for FIRST.
Parameters: config ( RawConfigParser
) – Configuration details for plugin.-
api_key
The user’s API key.
Type: str
-
auth
Authenication used with FIRST (default: None).
Type: HTTPKeberosAuth
-
authentication
Flag set if authentication is used in connection.
Type: bool
-
load_config
(config)[source] Loads configuration details into this instance.
Parameters: config ( RawConfigParser
) – The configuration details to load.
-
port
Type: int
Type: The FIRST server port (Default
-
protocol
The TCP protocol used to communicate with FIRST.
Type: str
-
save_config
(config_path)[source] Saves the configuration set in this instance to disk.
Parameters: config_path ( str
) – File path to save configuration.
-
server
The FIRST server.
Type: str
-
set_api_key
(key)[source]
-
set_authentication
(_authentication)[source]
-
set_data
(key, value)[source] Sets a specific configuration setting.
Parameters: - key (
str
) – The configuration setting. - value (
str
) – The configuration setting value.
- key (
-
set_port
(_port)[source]
-
set_protocol
(_protocol)[source]
-
set_server
(_server)[source]
-
set_verify
(_verify)[source]
-
verify
Whether the SSL cert will be verified.
Type: bool
-
-
class