AuthenticatePasskeyResult

data class AuthenticatePasskeyResult(val credentialId: String, val signature: WebAuthnSignature, val publicKey: ByteArray)

Result of standalone passkey authentication.

Contains the credential ID, normalized signature, and public key from a WebAuthn authentication ceremony without connecting to a specific wallet contract.

Use this result with:

  • Indexer lookups to discover contracts for the credential

  • Manual contract connection via connectWallet({ contractId, credentialId })

  • Multi-signer operations that need pre-authenticated signatures

Constructors

Link copied to clipboard
constructor(credentialId: String, signature: WebAuthnSignature, publicKey: ByteArray)

Properties

Link copied to clipboard

The credential ID (Base64URL-encoded, no padding)

Link copied to clipboard

The uncompressed secp256r1 public key (65 bytes) if found in local storage, or an empty ByteArray if the credential is not stored locally.

Link copied to clipboard

The WebAuthn signature with normalized compact format

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int