symphony.bdk.core.auth.bot_authenticator.BotAuthenticator#
- class symphony.bdk.core.auth.bot_authenticator.BotAuthenticator(session_auth_client: symphony.bdk.gen.api_client.ApiClient, key_manager_auth_client: symphony.bdk.gen.api_client.ApiClient, retry_config: symphony.bdk.core.config.model.bdk_retry_config.BdkRetryConfig)#
Bases:
abc.ABC
Bot authentication service.
- __init__(session_auth_client: symphony.bdk.gen.api_client.ApiClient, key_manager_auth_client: symphony.bdk.gen.api_client.ApiClient, retry_config: symphony.bdk.core.config.model.bdk_retry_config.BdkRetryConfig)#
Methods
__init__
(session_auth_client, ...)Authenticated and retrieved a new key manager session.
Authenticates and retrieves a new session token.
- async retrieve_key_manager_token() str #
Authenticated and retrieved a new key manager session.
- Returns
the retrieved key manager session.
- async retrieve_session_token() str #
Authenticates and retrieves a new session token.
- Returns
the retrieved session token.