You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotnet/src/webdriver/VirtualAuth/VirtualAuthenticatorOptions.cs
+31-25Lines changed: 31 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@
20
20
usingSystem;
21
21
usingSystem.Collections.Generic;
22
22
23
+
#nullable enable
24
+
23
25
namespaceOpenQA.Selenium.VirtualAuth
24
26
{
25
27
/// <summary>
@@ -78,10 +80,13 @@ public static class Transport
78
80
privateboolisUserVerified=false;
79
81
80
82
/// <summary>
81
-
/// Sets the protocol the Virtual Authenticator speaks
83
+
/// Sets the Client to Authenticator Protocol (CTAP) this <see href="https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators">Virtual Authenticator</see> speaks.
@@ -92,15 +97,19 @@ public VirtualAuthenticatorOptions SetProtocol(string protocol)
92
97
else
93
98
{
94
99
thrownewArgumentException("Enter a valid protocol value."+
95
-
"Refer to https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators for supported protocols.");
100
+
"Refer to https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators for supported protocols.");
96
101
}
97
102
}
98
103
99
104
/// <summary>
100
-
/// Sets the transport authenticator needs to implement to communicate with clients
105
+
/// Sets the <see href="https://www.w3.org/TR/webauthn-2/#enum-transport">Authenticator Transport</see> this <see href="https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators">Virtual Authenticator</see> needs to implement, to communicate with clients.
101
106
/// </summary>
102
-
/// <param name="transport">Valid transport value</param>
/// If set to <see langword="true"/>, the authenticator will support <see href="https://w3c.github.io/webauthn/#client-side-discoverable-credential">Client-side discoverable Credentials</see>.
121
129
/// </summary>
122
-
/// <param name="hasResidentKey">boolean value to set</param>
/// If set to <see langword="true"/>, the authenticator will support <see href="https://w3c.github.io/webauthn/#user-verification">User Verification</see>.
133
140
/// </summary>
134
-
/// <param name="hasUserVerification">boolean value to set</param>
135
-
/// <returns></returns>
141
+
/// <param name="hasUserVerification">Whether the authenticator supports user verification.</param>
142
+
/// <returns>This options instance for chaining.</returns>
0 commit comments