docs: def validate_auth_option(option, value):
      """Validate optional authentication parameters.
      """
      lower, value = validate(option, value)
      if lower not in _AUTH_OPTIONS:
          raise ConfigurationError('Unknown '
                                   'authentication option: %s' % (option,))
      return lower, value