Skip to content

Commit 05aa951

Browse files
committed
Update IdentityPasskeyOptions.cs
1 parent 341008f commit 05aa951

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Identity/Core/src/IdentityPasskeyOptions.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,17 @@ public class IdentityPasskeyOptions
8787
/// This option only applies when creating a new passkey, and is not enforced on the server.
8888
/// </para>
8989
/// <para>
90-
/// Possible values are "discouraged", "preferred", or "required".
90+
/// Possible values are "discouraged", "preferred", "required", or <see langword="null"/>.
91+
/// If set to <see langword="null"/>, the effective value is "discouraged".
9192
/// </para>
9293
/// <para>
93-
/// If left <see langword="null"/>, the browser defaults to "preferred".
94+
/// The default value is "preferred".
9495
/// </para>
9596
/// <para>
9697
/// See <see href="https://www.w3.org/TR/webauthn-3/#enumdef-residentkeyrequirement"/>.
9798
/// </para>
9899
/// </remarks>
99-
public string? ResidentKeyRequirement { get; set; }
100+
public string? ResidentKeyRequirement { get; set; } = "preferred";
100101

101102
/// <summary>
102103
/// Gets or sets the attestation conveyance preference.

0 commit comments

Comments
 (0)