Skip to content

Commit 3c20d27

Browse files
z11hridouhnsatragno
authored
Add transport spec changes (#1)
* add transport docs * Update index.bs Co-authored-by: Nina Satragno <[email protected]> * Update index.bs Co-authored-by: Nina Satragno <[email protected]> * Update index.bs Co-authored-by: Nina Satragno <[email protected]> * Update index.bs Co-authored-by: Nina Satragno <[email protected]> Co-authored-by: zakaria ridouh <[email protected]> Co-authored-by: Nina Satragno <[email protected]>
1 parent 38f9f72 commit 3c20d27

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.bs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,6 +2207,10 @@ When this method is invoked, the user agent MUST execute the following algorithm
22072207
: <code><dfn for="assertionCreationData">signatureResult</dfn></code>
22082208
:: whose value is the bytes of the signature value returned by the [=authenticator=].
22092209

2210+
: <code><dfn for="assertionCreationData">transportResult</dfn></code>
2211+
:: whose value is the transport used to communicate to the [=authenticator=]. Values SHOULD be members of {{AuthenticatorTransport}}. If the user agent does not have any transport information, set the value to
2212+
null.
2213+
22102214
: <code><dfn for="assertionCreationData">userHandleResult</dfn></code>
22112215
:: If the [=authenticator=] returned a [=user handle=], set the value of [=userHandleResult=] to be the bytes of
22122216
the returned [=user handle=]. Otherwise, set the value of [=userHandleResult=] to null.
@@ -2242,6 +2246,11 @@ When this method is invoked, the user agent MUST execute the following algorithm
22422246
:: A new {{ArrayBuffer}}, created using |global|'s [=%ArrayBuffer%=], containing the bytes of
22432247
<code>|assertionCreationData|.[=assertionCreationData/signatureResult=]</code>.
22442248

2249+
: {{AuthenticatorAssertionResponse/transport}}
2250+
:: If <code>|assertionCreationData|.[=assertionCreationData/transportResult=]</code> is null, set this
2251+
field to null. Otherwise, set this field to a new {{DOMString}}, containing the value of
2252+
<code>|assertionCreationData|.[=assertionCreationData/transportResult=]</code>.
2253+
22452254
: {{AuthenticatorAssertionResponse/userHandle}}
22462255
:: If <code>|assertionCreationData|.[=assertionCreationData/userHandleResult=]</code> is null, set this
22472256
field to null. Otherwise, set this field to a new {{ArrayBuffer}}, created using |global|'s
@@ -2429,6 +2438,7 @@ optionally evidence of [=user consent=] to a specific transaction.
24292438
interface AuthenticatorAssertionResponse : AuthenticatorResponse {
24302439
[SameObject] readonly attribute ArrayBuffer authenticatorData;
24312440
[SameObject] readonly attribute ArrayBuffer signature;
2441+
[SameObject] readonly attribute DOMString? transport;
24322442
[SameObject] readonly attribute ArrayBuffer? userHandle;
24332443
};
24342444
</xmp>
@@ -2445,6 +2455,10 @@ optionally evidence of [=user consent=] to a specific transaction.
24452455
: <dfn>signature</dfn>
24462456
:: This attribute contains the raw signature returned from the authenticator. See [[#sctn-op-get-assertion]].
24472457

2458+
: <dfn>transport</dfn>
2459+
:: This attribute contains the transport used to communicate to the [=authenticator=], or `null` if the user agent does not have any transport information.
2460+
See [[#sctn-op-get-assertion]].
2461+
24482462
: <dfn>userHandle</dfn>
24492463
:: This attribute contains the [=user handle=] returned from the authenticator, or null if the authenticator did not return a
24502464
[=user handle=]. See [[#sctn-op-get-assertion]].

0 commit comments

Comments
 (0)