PasskeyInterface class abstract
- Inheritance
-
- Object
- MultiSignerInterface
- PasskeyInterface
- Implementers
Constructors
Properties
- defaultId → String?
-
Gets the default credential ID used by the Passkey.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- opts → PassKeysOptions
-
Gets the PassKeysOptions used by the PasskeyInterface.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
clientDataHash(
PassKeysOptions options, {String? challenge}) → Uint8List - Creates a client data hash for PassKeys authentication.
-
clientDataHash32(
PassKeysOptions options, {String? challenge}) → Uint8List - Creates a 32-byte client data hash for PassKeys authentication.
-
credentialIdToBytes32Hex(
List< int> credentialId) → String - Converts a credentialId to a 32-byte hex string.
-
getAddress(
{int index = 0, dynamic bytes}) → String -
Returns the Hex address associated with the signer.
inherited
-
getMessagingSignature(
Uint8List signatureBytes) → Future< List< String> > - Gets the messaging signature from the PassKeys authentication response.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
personalSign(
Uint8List hash, {int? index, String? id}) → Future< Uint8List> -
Signs the provided
hash
using a multi-signature process.inherited -
register(
String name, bool requiresUserVerification) → Future< PassKeyPair> - Registers a user and returns a PassKeyPair key pair.
-
signToEc(
Uint8List hash, {int? index, String? id}) → Future< MsgSignature> -
Signs the provided
hash
and returns the result as aMsgSignature
.inherited -
signToPasskeySignature(
Uint8List hash, String credentialId) → Future< PassKeySignature> - Signs the intended request and returns the signedMessage.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited