DemoVerdict

@Serializable
data class DemoVerdict(val verified: Boolean, val credentialId: String, val signCount: Long, val userVerified: Boolean, val backupEligible: Boolean = false, val backedUp: Boolean = false, val aaguid: String? = null, val userHandle: String, val origin: String, val rpId: String)

What the demo server answers after verifying a registration or an assertion. Every field comes from the server.

Constructors

Link copied to clipboard
constructor(verified: Boolean, credentialId: String, signCount: Long, userVerified: Boolean, backupEligible: Boolean = false, backedUp: Boolean = false, aaguid: String? = null, userHandle: String, origin: String, rpId: String)

Properties

Link copied to clipboard

The authenticator model ID, when the server could read it.

Link copied to clipboard

Whether the passkey is currently synced.

Link copied to clipboard

Whether the passkey may be synced to other devices.

Link copied to clipboard

The credential the server verified, base64url.

Link copied to clipboard

The origin in the response, e.g. android:apk-key-hash:… on Android or https://<rpId> on iOS.

Link copied to clipboard

The RP ID the server checked.

Link copied to clipboard

The authenticator's signature counter after this response (often 0 for synced passkeys).

Link copied to clipboard

The demo user's handle (user.id), base64url.

Link copied to clipboard

Whether the authenticator verified the user (biometrics or screen lock).

Link copied to clipboard

True when the signature, challenge, origin and RP ID all checked out.

Functions

Link copied to clipboard
open override fun toString(): String