PasskeyBackend class abstract interface

Trusted native integration. All ceremony verification happens here, before returning a binding or secret. Implementations must follow the backend contract, including challenge, RP/origin, credential, signature and UV checks.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

availability({PasskeyCancellation? cancellation}) → Future<PasskeyAvailability>
Must not display UI or enumerate a user's credentials. Forward the operation's cancellation signal to native readiness/discovery and await its cleanup before returning.
dispose() → Future<void>
evaluate(PasskeyEvaluationRequest request, PasskeyCancellation cancellation) → Future<PasskeyAssertion>
Return only a verified, UV-protected assertion for one allowed binding. Per-credential inputs must map to the selected credential exactly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(PasskeyRegistrationRequest request, PasskeyCancellation cancellation) → Future<PasskeyBinding>
Create a discoverable credential requiring UV; validate registration and PRF support. Each userId is a fresh local opaque handle, not an account ID.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited