How to pass API token in header in Webviewer

Which product are you using?
PDF.js Express Plus

PDF.js Express Version

Detailed description of issue
How to pass API token in header using webviewer

Expected behaviour
{Provide a screenshot or description of the expected behaviour}

Does your issue happen with every document, or just one?
API token need to pass in header

Link to document
{Provide a link to the document in question if possible}

Code snippet
Sample code to render PDF:

licenseKey: ‘xxxxxxx’,
initialDoc: URL,
disabledElements: [
disableFeatures: [
}, this.viewer.nativeElement).then(instance => {

Hi there,

Thank you for contacting pdf.js express forums,

Please follow this guide on setting headers:

Best regards,
Kevin Kim