symphony.bdk.core.config.model.bdk_bot_config.BdkBotConfig#

class symphony.bdk.core.config.model.bdk_bot_config.BdkBotConfig(config)#

Bases: symphony.bdk.core.config.model.bdk_authentication_config.BdkAuthenticationConfig

Class containing the bot configuration

__init__(config)#

Methods

__init__(config)

is_authentication_configured()

Check if either RSA or certificate authentication is configured

is_certificate_configuration_valid()

Check of the certificate authentication is valid

is_rsa_authentication_configured()

Check if the RSA authentication is configured

is_rsa_configuration_valid()

Check of the RSA authentication is valid

is_authentication_configured() bool#

Check if either RSA or certificate authentication is configured

Returns

True if RSA or certificate authentication is configured

is_certificate_configuration_valid() bool#

Check of the certificate authentication is valid

If both of certificate key path and content, the configuration is invalid. :return: True if the the certificate key valid

is_rsa_authentication_configured() bool#

Check if the RSA authentication is configured

:return True if the RSA authentication is configured

is_rsa_configuration_valid() bool#

Check of the RSA authentication is valid

If both of private_key path and content, the configuration is invalid. :return: True if the the RSA key valid