Skip to content

PdfJsPasswordResponses

Unofficial

The reasons a document can ask for a password, as passed to the onPassword callback.

Import:

import type { PdfJsPasswordResponses } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PdfJsPasswordResponses

Properties

PropertyTypeDescription
INCORRECT_PASSWORDnumberThe password that was supplied is wrong.
NEED_PASSWORDnumberThe document is encrypted and no password was supplied yet.

Links to this page: