示例#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,
     )
示例#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,
     )