code: def _get_expiry_timestamp(cls, session_server):
          
  
          timeout_seconds = cls._get_session_timeout_seconds(session_server)
          time_now = datetime.datetime.now()
  
          return time_now + datetime.timedelta(seconds=timeout_seconds)
docs: :type session_server: core.SessionServer
  
          :rtype: datetime.datetime