GetAssertionResult

@Serializable
data class GetAssertionResult(val credentialId: String, val rawId: String, val type: String = "public-key", val authenticatorAttachment: String? = null, val clientDataJSON: String, val authenticatorData: String, val signature: String, val userHandle: String? = null)

Result from PasskeyClient.getAssertion(). Contains the raw WebAuthn assertion data from authentication.

Constructors

Link copied to clipboard
constructor(credentialId: String, rawId: String, type: String = "public-key", authenticatorAttachment: String? = null, clientDataJSON: String, authenticatorData: String, signature: String, userHandle: String? = null)

Properties

Link copied to clipboard

Authenticator attachment modality

Link copied to clipboard

Base64url-encoded authenticator data

Link copied to clipboard

Base64url-encoded client data JSON

Link copied to clipboard

Base64url-encoded credential identifier

Link copied to clipboard

Base64url-encoded raw credential ID

Link copied to clipboard

Base64url-encoded assertion signature

Link copied to clipboard

Credential type, always "public-key"

Link copied to clipboard

Base64url-encoded user handle (if resident credential)