symphony.bdk.core.service.session.session_service.SessionService#

class symphony.bdk.core.service.session.session_service.SessionService(session_api: symphony.bdk.gen.pod_api.session_api.SessionApi, auth_session: symphony.bdk.core.auth.auth_session.AuthSession, retry_config: symphony.bdk.core.config.model.bdk_retry_config.BdkRetryConfig)#

Bases: symphony.bdk.core.service.session.session_service.OboSessionService

Service class for exposing endpoints to get user session information.

__init__(session_api: symphony.bdk.gen.pod_api.session_api.SessionApi, auth_session: symphony.bdk.core.auth.auth_session.AuthSession, retry_config: symphony.bdk.core.config.model.bdk_retry_config.BdkRetryConfig)#

Methods

__init__(session_api, auth_session, retry_config)

get_session()

Retrieves the {@link UserV2} session from the pod using an {@link AuthSession} holder.

get_session() symphony.bdk.gen.pod_model.user_v2.UserV2#

Retrieves the {@link UserV2} session from the pod using an {@link AuthSession} holder.

Returns: User session info