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
·
50 commits
to develop
since this release
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.
- It is highly recommended that you upgrade to the new
- 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 formerimportPublication()
:- It doesn't require the passphrase, to allow bulk imports.
- It can be cancelled by calling
cancel()
on the returnedLCPAcquisition
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.