@removals.remove(message='keystoneclient auth plugins are deprecated. Use keystoneauth.', version='2.1.0', removal_version='3.0.0')
def load_from_conf_options(conf, group, **kwargs):
 if conf[group].auth_section:
  group = conf[group].auth_section
 name = conf[group].auth_plugin
 if (not name):
  return None
 plugin_class = base.get_plugin_class(name)
 plugin_class.register_conf_options(conf, group)
 return plugin_class.load_from_conf_options(conf, group, **kwargs)

@ removals . remove ( message = 'keystoneclient auth plugins are deprecated. Use keystoneauth.' , version = '2.1.0' , removal_version = '3.0.0' ) def load_from_conf_options ( conf , group , ** kwargs ) : if conf [ group ] . auth_section : group = conf [ group ] . auth_section name = conf [ group ] . auth_plugin if ( not name ) : return None plugin_class = base . get_plugin_class ( name ) plugin_class . register_conf_options ( conf , group ) return plugin_class . load_from_conf_options ( conf , group , ** kwargs )
load a plugin from an oslo_config conf object .