PasskeyPort class abstract

A WebAuthn ceremony pair: registering a passkey and asserting with one, the assertion evaluating the prf extension with one input.

Both ceremonies throw PasskeyCeremonyException when they yield no credential.

Constructors

PasskeyPort()

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

create({required String atSign, required DateTime enrolledAt, required String deviceName}) → Future<PasskeyCreation>
Registers a discoverable passkey for atSign and returns its credential id and the prf extension result. No PRF output is taken from registration: not every authenticator returns one there.
get({required Uint8List evalInput, Uint8List? allowCredential}) → Future<PasskeyAssertion>
Asserts with any discoverable passkey for this RP (or only allowCredential when given) and evaluates PRF with evalInput.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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