Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Various API improvements #97

Merged
merged 7 commits into from
Oct 19, 2020
Merged

Various API improvements #97

merged 7 commits into from
Oct 19, 2020

Conversation

mickael-menu
Copy link
Member

#96 needs to be merged first, here's the real diff.

  • Two default implementations of LCPAuthenticating:
    • LCPDialogAuthentication to prompt the user for its passphrase with the official LCP dialog (Note: before this dialog was in the test app)
    • LCPPassphraseAuthentication to provide directly a passphrase, pulled for example from a database or a web service.
  • LCPService.acquirePublication() is a new API to acquire a publication from a standalone license. Compared to the former importPublication():
    • It doesn't require the passphrase, to allow bulk imports.
    • It can be cancelled by calling cancel() on the returned LCPAuthentication object.
  • LCPService.isLCPProtected() provides a way to check if a file is protected with LCP.
  • LCPService.addPassphrase() can be used to preload LCP passphrases, for example when using LCP Automatic Key Retrieval.

…lication():

  * It doesn't require the passphrase, to allow bulk imports.
  * It can be cancelled by calling cancel() on the returned LCPAuthentication object.
Add LCPService.isLCPProtected() to check if a file is protected with LCP.
Add LCPService.addPassphrase() to preload LCP passphrases
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant