Dela via


IdentityPasskeyOptions.ChallengeSize Property

Definition

Gets or sets the size of the challenge in bytes sent to the client during attestation and assertion.

public int ChallengeSize { get; set; }
member this.ChallengeSize : int with get, set
Public Property ChallengeSize As Integer

Property Value

Remarks

This option applies to both creating a new passkey and requesting an existing passkey.

The default value is 32 bytes.

See https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-challenge and https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialrequestoptions-challenge.

Applies to