Share via


IdentityPasskeyOptions.ResidentKeyRequirement Property

Definition

Gets or sets the extent to which the server desires to create a client-side discoverable credential.

public string? ResidentKeyRequirement { get; set; }
member this.ResidentKeyRequirement : string with get, set
Public Property ResidentKeyRequirement As String

Property Value

Remarks

This option only applies when creating a new passkey, and is not enforced on the server.

Possible values are "discouraged", "preferred", "required", or null. If set to null, the effective value is "discouraged".

The default value is "preferred".

See https://www.w3.org/TR/webauthn-3/#enumdef-residentkeyrequirement.

Applies to