code: def ParseYAMLAuthorizationsList(yaml_data):
      
      try:
        raw_list = yaml.ParseMany(yaml_data)
      except (ValueError, pyyaml.YAMLError) as e:
        raise InvalidAPIAuthorization("Invalid YAML: %s" % e)
  
      result = []
      for auth_src in raw_list:
        auth = APIAuthorization()
        auth.router_cls = _GetRouterClass(auth_src["router"])
        auth.users = auth_src.get("users", [])
        auth.groups = auth_src.get("groups", [])
        auth.router_params = auth_src.get("router_params", {})
  
        result.append(auth)
  
      return result
docs: Parses YAML data into a list of APIAuthorization objects.