PasskeyPrf class
The passkey ceremonies that yield a PRF output.
Constructors
- PasskeyPrf(PasskeyPort port, {PrfSupport? prfSupport})
-
Initializes the ceremonies with the given passkey
portand, optionally, theprfSupportcheck that refuses setup before any ceremony.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → PasskeyPort
-
The passkey port used to perform ceremonies.
final
- prfSupport → PrfSupport?
-
The PRF support check, or null to attempt every ceremony.
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
-
register(
String atSign, {required DateTime enrolledAt, required String deviceName}) → Future< PasskeyRegistration> -
Registers a passkey whose user is the canonical
atSign; returns its id and the PRF output of an assertion with it. -
signalUnknownCredential(
Uint8List credentialId) → Future< void> -
Tells the platform, when port is an UnknownCredentialSignal, that
credentialIdis not wanted. A failure to signal is ignored: the passkey stays in the platform's list. -
toString(
) → String -
A string representation of this object.
inherited
-
unlock(
{Uint8List? credentialId}) → Future< PasskeyRegistration> -
Asserts and returns the PRF output;
credentialIdnarrows the allowed credentials. Never records a PRF miss.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited