symphony.bdk.core.auth.auth_session.OboAuthSession#

class symphony.bdk.core.auth.auth_session.OboAuthSession(authenticator, user_id: Optional[int] = None, username: Optional[str] = None)#

Bases: symphony.bdk.core.auth.auth_session.AuthSession

RSA OBO Authentication session handle to get the OBO session token from. It uses an symphony.bdk.core.auth.obo_authenticator.OboAuthenticator to actually retrieve the tokens when needed.

__init__(authenticator, user_id: Optional[int] = None, username: Optional[str] = None)#

At least user_id or username should be defined.

Parameters

Methods

__init__(authenticator[, user_id, username])

At least user_id or username should be defined.

refresh()

Trigger re-authentication to refresh the OBO session token.

Attributes

key_manager_token

return

an empty string since there is no key manager token in OBO mode.

session_token

return

the session token.

property key_manager_token#
Returns

an empty string since there is no key manager token in OBO mode.

async refresh()#

Trigger re-authentication to refresh the OBO session token.

property session_token#
Returns

the session token.