code: func newPlugins(names []string) []Plugin {
  	plugins := []Plugin{}
  	pluginsMap := make(map[string]struct{})
  	for _, name := range names {
  		if _, ok := pluginsMap[name]; ok {
  			continue
  		}
  		pluginsMap[name] = struct{}{}
  		plugins = append(plugins, newAuthorizationPlugin(name))
  	}
  	return plugins
  }
docs: // newPlugins constructs and initializes the authorization plugins based on plugin names