Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt

Use this file to discover all available pages before exploring further.

Final Class Passkey-based CrossmintWalletApprovalSigner that delegates signing to a caller-supplied callback.
final class CrossmintPasskeyApprovalSigner implements CrossmintWalletApprovalSigner
In Stage 1, the callback is always required. In Stage 2, native platform passkey support can be used as a fallback when no callback is provided. Until native support ships, passing a passkey signer config without callbacks throws CrossmintSignerException(code: passkeyCallbackMissing) during wallet creation or signing.

Constructors

CrossmintPasskeyApprovalSigner

CrossmintPasskeyApprovalSigner({
  required this.credentialId,
  required String locator,
  required Future<CrossmintPasskeySignResult> Function(String message) onSign,
})
Creates a passkey approval signer bound to a specific credentialId and a user-supplied onSign callback.

Properties

credentialId

final String credentialId
WebAuthn credential identifier bound to this signer.

type

String get type

locator

String get locator

Methods

signMessage

Future<Object> signMessage(String message)

signTransaction

Future<Object> signTransaction(String transaction)