code: func (auth Auth) MarshalYAML() (interface{}, error) {
  	if auth.Parameters() == nil {
  		return auth.Type(), nil
  	}
  	return map[string]Parameters(auth), nil
  }
docs: // MarshalYAML implements the yaml.Marshaler interface