def _initialize_session(self):
        """
        :rtype: None
        """

        session_server = core.SessionServer.create(self).value
        token = session_server.token.token
        expiry_time = self._get_expiry_timestamp(session_server)
        user_id = session_server.get_referenced_user().id_

        self._session_context = SessionContext(token, expiry_time, user_id)
def _initialize_session ( self ) : session_server = core . SessionServer . create ( self ) . value token = session_server . token . token expiry_time = self . _get_expiry_timestamp ( session_server ) user_id = session_server . get_referenced_user ( ) . id_ self . _session_context = SessionContext ( token , expiry_time , user_id )
:rtype: None