Public Key Credential Creation Options
@Serializable
WebAuthn credential creation options for passkey registration. Matches the WebAuthn PublicKeyCredentialCreationOptions structure.
Constructors
Link copied to clipboard
constructor(challenge: String, rpId: String, rpName: String, userId: String, userName: String, userDisplayName: String, timeout: Long = 60000, attestation: String = "none", authenticatorSelection: AuthenticatorSelection? = null, pubKeyCredParams: List<PubKeyCredParam> = listOf(
PubKeyCredParam(type = "public-key", alg = -7) // ES256
), excludeCredentials: List<CredentialDescriptor> = emptyList())
Properties
Link copied to clipboard
Attestation conveyance preference
Link copied to clipboard
Criteria for authenticator selection
Link copied to clipboard
Credentials to exclude from registration
Link copied to clipboard
Supported public key algorithms
Link copied to clipboard
Human-readable user display name