WebAuthnAuthenticationResult

data class WebAuthnAuthenticationResult(val credentialId: ByteArray, val authenticatorData: ByteArray, val clientDataJSON: ByteArray, val signature: ByteArray)

WebAuthn authentication result from a passkey ceremony.

Contains the complete attestation data required to verify biometric or security key authentication.

Constructors

Link copied to clipboard
constructor(credentialId: ByteArray, authenticatorData: ByteArray, clientDataJSON: ByteArray, signature: ByteArray)

Properties

Link copied to clipboard

Raw authenticator data from the WebAuthn ceremony

Link copied to clipboard

Client data JSON from the WebAuthn ceremony

Link copied to clipboard

The WebAuthn credential identifier (raw bytes)

Link copied to clipboard

ECDSA signature in DER format (will be normalized to compact format)

Functions

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

Custom equals implementation that properly compares ByteArray fields.

Link copied to clipboard
open override fun hashCode(): Int

Custom hashCode implementation that properly handles ByteArray fields.