Skip to content

Commit

Permalink
changed CollectedClientData integration approach
Browse files Browse the repository at this point in the history
  • Loading branch information
rlin1 committed Apr 30, 2024
1 parent d18e271 commit a175ab9
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3622,11 +3622,12 @@ Note: The {{CollectedClientData}} may be extended in the future. Therefore it's

<xmp class="idl">
dictionary CollectedClientData {
required DOMString type;
required DOMString challenge;
required DOMString origin;
DOMString topOrigin;
boolean crossOrigin;
required DOMString type;
required DOMString challenge;
required DOMString origin;
DOMString topOrigin;
boolean crossOrigin;
CollectedClientDataExtensions extensions;
};

dictionary TokenBinding {
Expand All @@ -3635,6 +3636,9 @@ Note: The {{CollectedClientData}} may be extended in the future. Therefore it's
};

enum TokenBindingStatus { "present", "supported" };

dictionary CollectedClientDataExtensions {
};
</xmp>

<div dfn-type="dict-member" dfn-for="CollectedClientData">
Expand Down Expand Up @@ -7621,35 +7625,14 @@ Example uses cases could be "I want to move $1234 from account A to account B" o
1. pass-through the "authenticator extension output" to the caller as part of the assertion


The {{CollectedClientDataExtensions}} dictionary contains the following
additional field:
<xmp class="idl">
dictionary CollectedClientConfirmationData : CollectedClientData {
required CollectedClientAdditionalConfirmationData confirmationPrompt;
partial dictionary CollectedClientDataExtensions {
USVString confirmation;
};
</xmp>

The {{CollectedClientConfirmationData}} dictionary inherits from
{{CollectedClientData}}. It contains the following additional field:

<dl dfn-type="dict-member" dfn-for="CollectedClientConfirmationData">
: <dfn>confirmationPrompt</dfn> member
:: The full context of the confirmation to give.
</dl>


<xmp class="idl">
dictionary CollectedClientAdditionalConfirmationData {
required USVString confirmationPrompt;
};
</xmp>

The {{CollectedClientAdditionalConfirmationData}} dictionary contains the following
fields:

<dl dfn-type="dict-member" dfn-for="CollectedClientAdditionalConfirmationData">
: <dfn>confirmationPrompt</dfn> member
:: The full context of the confirmation to give.
</dl>

: Client extension output
:: Returns the value [TRUE] to indicate to the [[RP]=] that the extension was acted upon.
<xmp class="idl">
Expand Down

0 comments on commit a175ab9

Please sign in to comment.