Exemplo n.º 1
0
 def authenticate(self, chal, appid, key_handle, check_only=False):
     auth_data = _call_polling(
         0.25,
         None,
         None,
         self.ctap1.authenticate,
         chal,
         appid,
         key_handle,
         check_only=check_only,
     )
     return auth_data
Exemplo n.º 2
0
 def authenticate(self, chal, appid, key_handle, check_only=False, on_keepalive=DeviceSelectCredential(1)):
     auth_data = _call_polling(
         0.25,
         None,
         on_keepalive,
         self.ctap1.authenticate,
         chal,
         appid,
         key_handle,
         check_only=check_only,
     )
     return auth_data
Exemplo n.º 3
0
 def register(self, chal, appid, on_keepalive=DeviceSelectCredential(1)):
     reg_data = _call_polling(0.25, None, on_keepalive, self.ctap1.register,
                              chal, appid)
     return reg_data
Exemplo n.º 4
0
 def register(self, chal, appid):
     reg_data = _call_polling(0.25, None, None, self.ctap1.register, chal,
                              appid)
     return reg_data