Skip to content

Commit

Permalink
rename to txAuthSimple
Browse files Browse the repository at this point in the history
  • Loading branch information
rlin1 committed Feb 12, 2024
1 parent 8ea1d67 commit c3a701a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7652,15 +7652,15 @@ To <dfn abstract-op>Create a new supplemental public key record</dfn>, perform t
[=set/append=] this [=supplemental public key record=] to |credentialRecord|.[$credential record/supplementalPubKeys$].


### Simple Transaction Authorization Extension (txAuthSimple2) ### {#sctn-simple-txauth-extension2}
### Simple Transaction Authorization Extension (txAuthSimple) ### {#sctn-simple-txauth-extension}

This extension allows for a simple form of transaction authorization. A
[=[RP]=] can specify a prompt string, intended for display by the platform and by the authenticator (if supported).
With this approach, [=Relying Parties=] can use the feature independently of the capabilities of the authenticator used by the user,
while still benefitting from the increased security level if the authenticator itself supports showing the transaction text.

: Extension identifier
:: `txAuthSimple2`
:: `txAuthSimple`

: Operation applicability
:: [=authentication extension|Authentication=]
Expand All @@ -7680,7 +7680,7 @@ This extension allows for a simple form of transaction authorization. A
indicate that the transaction text originates from a specific relying party
(as opposed to the platform itself).

1. use the {{CollectedClientTxAuthSimple2Data}} structure containing the transaction text instead of using
1. use the {{CollectedClientTxAuthSimpleData}} structure containing the transaction text instead of using
the {{CollectedClientData}} structure.

1. pass-through the extension to the authenticator (see "client extension output" below)
Expand All @@ -7694,31 +7694,31 @@ This extension allows for a simple form of transaction authorization. A
</div>

<xmp class="idl">
dictionary CollectedClientTxAuthSimple2Data : CollectedClientData {
required CollectedClientAdditionalTxAuthSimple2Data transactionText;
dictionary CollectedClientTxAuthSimpleData : CollectedClientData {
required CollectedClientAdditionalTxAuthSimpleData transactionText;
};
</xmp>

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

<dl dfn-type="dict-member" dfn-for="CollectedClientTxAuthSimple2Data">
<dl dfn-type="dict-member" dfn-for="CollectedClientTxAuthSimpleData">
: <dfn>transactionText</dfn> member
:: The full context of the transaction to sign.
</dl>


<xmp class="idl">
dictionary CollectedClientAdditionalTxAuthSimple2Data {
dictionary CollectedClientAdditionalTxAuthSimpleData {
required USVString rpId;
required USVString transactionText;
};
</xmp>

The {{CollectedClientAdditionalTxAuthSimple2Data}} dictionary contains the following
The {{CollectedClientAdditionalTxAuthSimpleData}} dictionary contains the following
fields:

<dl dfn-type="dict-member" dfn-for="CollectedClientAdditionalTxAuthSimple2Data">
<dl dfn-type="dict-member" dfn-for="CollectedClientAdditionalTxAuthSimpleData">
: <dfn>rpId</dfn> member
:: The id of the [=Relying Party=] that created the credential.

Expand Down

0 comments on commit c3a701a

Please sign in to comment.