code: def set_session_token(self, session_token):
          
          self.session_token = session_token
          self._login_time = datetime.datetime.now()
docs: Sets session token and new login time.
  
          :param str session_token: Session token from request.