def key_audit_v1(self, request): data = _request_data(request, mandatory_keys=['key_id', 'untrusted_user', ]) return api.key_audit( key_id=data['key_id'], untrusted_global_id_or_idurl=data['untrusted_user'], is_private=bool(data.get('is_private', '0') in ['1', 'true', ]), )
def jsonrpc_key_audit(self, key_id, untrusted_user_id, is_private=False, timeout=10): return api.key_audit(key_id=key_id, untrusted_user_id=untrusted_user_id, is_private=is_private, timeout=timeout)
def jsonrpc_key_audit(self, key_id, untrusted_global_id_or_idurl, is_private=False, timeout=10): return api.key_audit( key_id=key_id, untrusted_global_id_or_idurl=untrusted_global_id_or_idurl, is_private=is_private, timeout=timeout)