Exemplo n.º 1
0
 def auth(self):
     return auth_handler(
         frozendict(self.config.vid.AUTH_PLUGIN)
         if self.config.vid.AUTH_PLUGIN else None,
         self.vid_username,
         self.vid_password,
     )
Exemplo n.º 2
0
 def auth(self):
     return auth_handler(
         frozendict(self.config.sdc.AUTH_PLUGIN) if self.config.sdc.AUTH_PLUGIN else None,
         self.global_sdc_username,
         self.global_sdc_password,
     )