symphony.bdk.core.auth.auth_session.AuthSession#

class symphony.bdk.core.auth.auth_session.AuthSession(authenticator)#

Bases: object

RSA Authentication session handle to get session and key manager tokens from. It uses a BotAuthenticator to actually retrieve the tokens when needed.

__init__(authenticator)#
Parameters

authenticator – the symphony.bdk.core.auth.bot_authenticator.BotAuthenticator instance to retrieve the tokens from.

Methods

__init__(authenticator)

param authenticator

the symphony.bdk.core.auth.bot_authenticator.BotAuthenticator instance to

refresh()

Trigger re-authentication to refresh the tokens.

Attributes

key_manager_token

return

the key manager token

session_token

return

the session token.

property key_manager_token#
Returns

the key manager token

async refresh()#

Trigger re-authentication to refresh the tokens.

property session_token#
Returns

the session token.