symphony.bdk.core.auth.auth_session.AppAuthSession#

class symphony.bdk.core.auth.auth_session.AppAuthSession(authenticator, app_token: str)#

Bases: object

Extension application RSA authentication handle to store the tokens. It uses a symphony.bdk.core.auth.ext_app_authenticator.ExtensionAppAuthenticator to actually authenticate and retrieve the tokens.

__init__(authenticator, app_token: str)#
Parameters

Methods

__init__(authenticator, app_token)

param authenticator

the symphony.bdk.core.auth.ext_app_authenticator.ExtensionAppAuthenticator

refresh()

Triggers re-authentication to refresh the tokens.

Attributes

app_token

return

the application token

expire_at

return

the Unix timestamp in milliseconds of the Symphony token expiration

symphony_token

return

the Symphony token

property app_token: str#
Returns

the application token

property expire_at: int#
Returns

the Unix timestamp in milliseconds of the Symphony token expiration

async refresh() None#

Triggers re-authentication to refresh the tokens.

Returns

None

property symphony_token: str#
Returns

the Symphony token