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

2.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mickael-menu mickael-menu released this 28 Oct 15:00
· 50 commits to develop since this release
7e7483d

Take a look at the migration guide

Added

  • LCP implementation of the Content Protection API to work with the new Streamer API.
    • It is highly recommended that you upgrade to the new Streamer API to open publications, which will simplify DRM unlocking.
  • Two default implementations of LCPAuthenticating:
    • LCPDialogAuthentication to prompt the user for its passphrase with the official LCP dialog.
    • 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 LCPAcquisition object.
  • LCPService.isLCPProtected() provides a way to check if a file is protected with LCP.

Changed

  • LCPAuthenticating is now provided with more information and you will need to update your implementation.

Fixed