Skip to content

Add transport spec changes #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,10 @@ When this method is invoked, the user agent MUST execute the following algorithm
: <code><dfn for="assertionCreationData">signatureResult</dfn></code>
:: whose value is the bytes of the signature value returned by the [=authenticator=].

: <code><dfn for="assertionCreationData">transportResult</dfn></code>
:: whose value is the {{DOMString}} of the transport value returned by the [=authenticator=]. Otherwise, set the value to
null.

: <code><dfn for="assertionCreationData">userHandleResult</dfn></code>
:: If the [=authenticator=] returned a [=user handle=], set the value of [=userHandleResult=] to be the bytes of
the returned [=user handle=]. Otherwise, set the value of [=userHandleResult=] to null.
Expand Down Expand Up @@ -2242,6 +2246,11 @@ When this method is invoked, the user agent MUST execute the following algorithm
:: A new {{ArrayBuffer}}, created using |global|'s [=%ArrayBuffer%=], containing the bytes of
<code>|assertionCreationData|.[=assertionCreationData/signatureResult=]</code>.

: {{AuthenticatorAssertionResponse/transport}}
:: If <code>|assertionCreationData|.[=assertionCreationData/transportResult=]</code> is null, set this
field to null. Otherwise, set this field to a new {{DOMString}}, containing the data of
<code>|assertionCreationData|.[=assertionCreationData/transportResult=]</code>.

: {{AuthenticatorAssertionResponse/userHandle}}
:: If <code>|assertionCreationData|.[=assertionCreationData/userHandleResult=]</code> is null, set this
field to null. Otherwise, set this field to a new {{ArrayBuffer}}, created using |global|'s
Expand Down Expand Up @@ -2429,6 +2438,7 @@ optionally evidence of [=user consent=] to a specific transaction.
interface AuthenticatorAssertionResponse : AuthenticatorResponse {
[SameObject] readonly attribute ArrayBuffer authenticatorData;
[SameObject] readonly attribute ArrayBuffer signature;
[SameObject] readonly attribute DOMString? transport;
[SameObject] readonly attribute ArrayBuffer? userHandle;
};
</xmp>
Expand All @@ -2445,6 +2455,10 @@ optionally evidence of [=user consent=] to a specific transaction.
: <dfn>signature</dfn>
:: This attribute contains the raw signature returned from the authenticator. See [[#sctn-op-get-assertion]].

: <dfn>transport</dfn>
:: This attribute contains the transport returned from the authenticator, or null if the authentication did not return a
transport. See [[#sctn-op-get-assertion]].

: <dfn>userHandle</dfn>
:: This attribute contains the [=user handle=] returned from the authenticator, or null if the authenticator did not return a
[=user handle=]. See [[#sctn-op-get-assertion]].
Expand Down Expand Up @@ -3977,6 +3991,9 @@ a numbered step. If outdented, it (today) is rendered as a bullet in the midst o

- |authenticatorData|
- |signature|
- |transport|

Note: the returned transport value may be `null`.
- |selectedCredential|.[=public key credential source/userHandle=]

Note: the returned [=public key credential source/userHandle=] value may be `null`, see:
Expand Down