code: def init_auth_manager(
      appbuilder: AirflowAppBuilder,
  ) -> BaseAuthManager:
      """
      Initialize the auth manager.
  
      Import the user manager class and instantiate it.
      """
      global auth_manager
      auth_manager_cls = get_auth_manager_cls()
      auth_manager = auth_manager_cls(appbuilder)
      return auth_manager
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from airflow.configuration import conf
  from airflow.exceptions import AirflowConfigException
label_desc: Use image node_id 2 for calling a global function with example usage: init_auth_manager(appbuilder) and returns: auth_manager