code: def configure(self, mount_point, mfa_type='duo', force=False):
          
          if mfa_type != 'duo' and not force:
              # The situation described via this exception is not likely to change in the future.
              # However we provided that flexibility here just in case.
              error_msg = 'Unsupported mfa_type argument provided "{arg}", supported types: "{mfa_types}"'
              raise exceptions.ParamValidationError(error_msg.format(
                  mfa_types=','.join(SUPPORTED_MFA_TYPES),
                  arg=mfa_type,
              ))
          params = {
              'type': mfa_type,
          }
  
          api_path = '/v1/auth/{mount_point}/mfa_config'.format(
              mount_point=mount_point
          )
          return self._adapter.post(
              url=api_path,
              json=params,
          )
docs: Configure MFA for a supported method.
  
          This endpoint allows you to turn on multi-factor authentication with a given backend.
          Currently only Duo is supported.
  
          Supported methods:
              POST: /auth/{mount_point}/mfa_config. Produces: 204 (empty body)
  
          :param mount_point: The "path" the method/backend was mounted on.
          :type mount_point: str | unicode
          :param mfa_type: Enables MFA with given backend (available: duo)
          :type mfa_type: str | unicode
          :param force: If True, make the "mfa_config" request regardless of circumstance. If False (the default), verify
              the provided mount_point is available and one of the types of methods supported by this feature.
          :type force: bool
          :return: The response of the configure MFA request.
          :rtype: requests.Response