Ejemplo n.º 1
0
 def make_auth_plugin(self, creds):
     """
     Returns an instantiated authentication plugin.
     """
     strategy = creds.get("strategy", "noauth")
     plugin = auth.get_plugin_from_strategy(strategy, creds)
     return plugin
Ejemplo n.º 2
0
 def make_auth_plugin(self, creds):
     """
     Returns an instantiated authentication plugin.
     """
     strategy = creds.get('strategy', 'noauth')
     plugin = auth.get_plugin_from_strategy(strategy,
                                            creds, self.service_type)
     return plugin
Ejemplo n.º 3
0
 def make_auth_plugin(self, creds):
     """
     Returns an instantiated authentication plugin.
     """
     strategy = creds.get('strategy', 'noauth')
     plugin = auth.get_plugin_from_strategy(strategy, creds,
                                            self.service_type)
     return plugin