code: func RegisterAuth(name string, ctor AuthConfigParser) {
  	if _, dup := authConstructor[name]; dup {
  		panic("Dup registration of auth mode " + name)
  	}
  	authConstructor[name] = ctor
  }
docs: // RegisterAuth registers a new authentication scheme.