PasskeyAuthenticationOptionsResponse

@Serializable
data class PasskeyAuthenticationOptionsResponse(val challengeId: String, val options: JsonObject, val expiresAt: Instant)(source)

The response for AuthPasskeyApi.startAuthentication

Parameters

challengeId

The challenge id

options

Server options

expiresAt

When the authentication session expires

Constructors

Link copied to clipboard
constructor(challengeId: String, options: JsonObject, expiresAt: Instant)

Properties

Link copied to clipboard
@SerialName(value = "challenge_id")
val challengeId: String
Link copied to clipboard
@SerialName(value = "expires_at")
@Serializable(with = UnixTimestampSerializer::class)
val expiresAt: Instant
Link copied to clipboard
val options: JsonObject