Interface: ServerSigningServiceData

PSPDFKit.ServerSigningServiceData

Server only

Contains information to be optionally passed along to the signing service when PSPDFKit.Instance.signDocument() is called in server mode, so it can be used for identification, security or any other purpose.

To learn more about how to set up the signing service check this guide article.

This is the property that can be included in the object:

Properties:
Name Type Description
signingToken string

Token to be passed by the backend to the signing service.

Example

Passing a string for the signing service when signing (Server)

instance.signDocument(null, {
  signingToken: "My security token"
})
  .then(function () {
    console.log("The document has been signed!");
  });