diff --git a/index.bs b/index.bs index a1aa991e5..dce2b5e7a 100644 --- a/index.bs +++ b/index.bs @@ -1,5 +1,5 @@ +
-Title: Web Authentication: An API for accessing Public Key Credentials Status: ED Prepare for TR: true TR: https://www.w3.org/TR/webauthn/ @@ -11,7 +11,7 @@ Previous Version: https://www.w3.org/TR/2016/WD-webauthn-20160928/ Previous Version: https://www.w3.org/TR/2016/WD-webauthn-20160902/ Previous Version: https://www.w3.org/TR/2016/WD-webauthn-20160531/ Shortname: webauthn -Level: +Level: 1 Editor: Vijay Bharadwaj, w3cid 55440, Microsoft, vijay.bharadwaj@microsoft.com Editor: Hubert Le Van Gong, w3cid 84817, PayPal, hlevangong@paypal.com Editor: Dirk Balfanz, w3cid 47648, Google, balfanz@google.com @@ -621,7 +621,7 @@ When this method is invoked, the user agent MUST execute the following algorithm 1. Let |clientDataHash| be the [=hash of the serialized client data=] represented by |clientDataJSON|. 1. Let |currentlyAvailableAuthenticators| be a new [=ordered set=] consisting of all [=authenticators=] - available on this platform. + currently available on this platform. 1. Let |selectedAuthenticators| be a new [=ordered set=]. @@ -828,20 +828,39 @@ When this method is invoked, the user agent MUST execute the following algorithm 1. If |allowCredentialDescriptorList|
|C|.{{transports}}
[=list/is not empty=], the client SHOULD select one |transport| from
- {{transports}}. Then, using |transport|, invoke the [=authenticatorGetAssertion=] operation on
- |authenticator|, with |rpId|, |clientDataHash|, |allowCredentialDescriptorList|, and
- |authenticatorExtensions| as parameters.
-
- 1. Otherwise, using local configuration knowledge of the appropriate transport to use with |authenticator|,
- invoke the [=authenticatorGetAssertion=] operation on |authenticator| with |rpId|,
- |clientDataHash|, |allowCredentialDescriptorList|, and |clientExtensions| as parameters.
+ :: 1. Let |distinctTransports| be a new [=ordered set=].
+
+ 1. [=list/For each=] credential descriptor |C| in |allowCredentialDescriptorList|,
+ [=set/append=] each value, if any, of |C|.{{transports}}
to |distinctTransports|.
+
+ Note: This will aggregate only distinct values of {{transports}} (for this [=authenticator=]) in
+ |distinctTransports| due to the properties of [=ordered sets=].
+
+ 1. If |distinctTransports|
+