equals

open operator override fun equals(other: Any?): Boolean

Compares this PasskeyCredential instance with another object for equality.

Two PasskeyCredential objects are considered equal if their respective fields (credentialId, publicKey, authenticatorData, clientDataJSON, and attestationObject) contain the same values, based on a content equality comparison.

Return

true if the given object is equal to this instance, false otherwise.

Parameters

other

The object to compare with this instance.