code: def _build_auth_request(self, verify=False, **kwargs):
          
          json = {
              'domain': self.domain
          }
          
          credential = self.credential
          params = {}
          
          if credential.provider_name.startswith('lms'):
              params = dict(
                  login=credential._login,
                  pwd=credential._pwd)
          else:
              json.update(authenticationkey=credential._api_key)
          
          if kwargs:
              json.update(**kwargs)
              self._extra_args.update(**kwargs) # Store in case we need to rebuild later
          
          request = dict(
              url=self.credential.get_provider_entry_point(self.url, self.api_version),
              json=json,
              params=params,
              headers={'content-type': 'application/json'},
              verify=verify)
          
          return request
docs: Build the authentication request to SMC