Namespace: security

qz.security

Calls related to signing connection requests.
Source:

Methods

(static) setCertificatePromise(promiseCall)

Set promise resolver for calls to acquire the site's certificate.
Parameters:
Name Type Description
promiseCall function Function({function} resolve) called as promise for getting the public certificate. Should call resolve parameter with the result.
Source:

(static) setSignaturePromise(promiseGen)

Set promise creator for calls to sign API calls.
Parameters:
Name Type Description
promiseGen function Function({function} toSign) Should return a function, Function({function} resolve), that will sign the content and resolve the created promise.
Source: