pdfrx_web
    Preparing search index...

    Type Alias PdfPasswordProvider

    PdfPasswordProvider: () => string | null | Promise<string | null>

    Function called when a document requires a password. Return the password to try, or null to give up (aborts opening with a PdfPasswordException).

    It is called repeatedly on each failed attempt until it returns null or a correct password, so it may prompt the user anew each time.

    Type Declaration

      • (): string | null | Promise<string | null>
      • Returns string | null | Promise<string | null>