code: def _connect_mitogen_doas(spec):
      
      return {
          'method': 'doas',
          'kwargs': {
              'username': spec.remote_user(),
              'password': spec.password(),
              'python_path': spec.python_path(),
              'doas_path': spec.become_exe(),
              'connect_timeout': spec.timeout(),
              'remote_name': get_remote_name(spec),
          }
      }
docs: Return ContextService arguments for doas as a first class connection.