LcpPassphraseAuthentication class
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.
- Inheritance
-
- Object
- LcpAuthenticating
- LcpPassphraseAuthentication
Constructors
- LcpPassphraseAuthentication(String passphrase, {LcpAuthenticating? fallback})
Properties
- fallback → LcpAuthenticating?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- passphrase → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrievePassphrase(
AuthenticatedLicense license, AuthenticationReason reason, bool allowUserInteraction, {Object? sender}) → Future< String?> -
Retrieves the passphrase used to decrypt the given license.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited