LcpPassphraseAuthentication
class LcpPassphraseAuthentication(passphrase: String, fallback: LcpAuthenticating? = null) : LcpAuthenticating
An LcpAuthenticating implementation which can directly use a provided clear or hashed passphrase.
If the provided passphrase is incorrect, the given fallback authentication is used.
Functions
Link copied to clipboard
open suspend override fun retrievePassphrase(license: LcpAuthenticating.AuthenticatedLicense, reason: LcpAuthenticating.AuthenticationReason, allowUserInteraction: Boolean): String?
Retrieves the passphrase used to decrypt the given license.