PasskeyAssertion

class PasskeyAssertion(val json: String, val credentialId: String, val userHandle: String?, val prf: PrfResults? = null, val largeBlob: ByteArray? = null, val largeBlobWritten: Boolean? = null, val rpId: String)

Result of Passkeys.signIn. Send json to the server. Instances are created by PassKi; the constructor is internal API so fields can be added without breaking binaries.

Constructors

Link copied to clipboard
constructor(json: String, credentialId: String, userHandle: String?, prf: PrfResults? = null, largeBlob: ByteArray? = null, largeBlobWritten: Boolean? = null, rpId: String)

Properties

Link copied to clipboard

The credential id used, base64url.

Link copied to clipboard

The WebAuthn assertion response JSON, ready to POST to your server.

Link copied to clipboard

The passkey's large blob read with PasskeyExtensions.withLargeBlobRead; null if not requested, not supported, or none is stored. Treat it as a secret.

Link copied to clipboard

Whether the blob from PasskeyExtensions.withLargeBlobWrite was stored; null if no write was requested or the platform did not answer.

Link copied to clipboard

PRF results for the salts from PasskeyExtensions.withPrf; null if not requested or not supported.

Link copied to clipboard

The RP ID this ceremony ran for: the options' RP ID, or on the web the page's host when the options name none. Pass it to PasskeySignals calls instead of parsing the options again.

Link copied to clipboard

The user handle (user.id) stored with the passkey, base64url, if any.

Functions

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