def construct_method_map_from_config():
 method_map = dict()
 method_index = 1
 for method in CONF.auth.methods:
  method_map[method_index] = method
  method_index = (method_index * 2)
 return method_map

def construct_method_map_from_config ( ) : method_map = dict ( ) method_index = 1 for method in CONF . auth . methods : method_map [ method_index ] = method method_index = ( method_index * 2 ) return method_map
determine authentication method types for deployment .