MCPcopy Create free account
hub / github.com/LibPDF-js/core / authenticate

Method authenticate

src/parser/document-parser.ts:88–88  ·  view source on GitHub ↗

* Authenticate with a password. * Call this if initial authentication failed or to try a different password. * @returns true if authentication succeeded

(password: string)

Source from the content-addressed store, hash-verified

86 * @returns true if authentication succeeded
87 */
88 authenticate(password: string): boolean;
89
90 // ─────────────────────────────────────────────────────────────────────────────
91 // Object access

Implementers 2

DocumentParsersrc/parser/document-parser.ts
PDFsrc/api/pdf.ts

Calls

no outgoing calls

Tested by

no test coverage detected