Skip to content
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

Note that a UA may create a new credential from the selection UI #44

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
<h1>Credential Management Level 1</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2017-01-13">13 January 2017</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2017-02-14">14 February 2017</time></span></h2>
<div data-fill-with="spec-metadata">
<dl>
<dt>This version:
Expand Down Expand Up @@ -2885,6 +2885,7 @@ <h3 class="heading settled" data-level="5.3" id="user-mediated-selection"><span
requesting credentials.</p>
<p>The chooser interface SHOULD include all <code class="idl"><a data-link-type="idl" href="#credential" id="ref-for-credential-33">Credential</a></code> objects associated
with the origin that requested credentials.</p>
<p>The chooser interface MAY offer the user to enter and save new credentials.</p>
<p><em>The following image is an exceptionally non-normative mock:</em></p>
<p><img alt="A mockup of what a chooser might look like." src="./mock-chooser.png"></p>
<p>User agents MAY internally associate information with each <code class="idl"><a data-link-type="idl" href="#credential" id="ref-for-credential-34">Credential</a></code> object beyond the attributes specified in this document in order to enhance
Expand Down
2 changes: 2 additions & 0 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -2033,6 +2033,8 @@ <h3 id="user-mediated-selection">Credential Selection</h3>
The chooser interface SHOULD include all {{Credential}} objects associated
with the origin that requested credentials.

The chooser interface MAY offer the user to enter and save new credentials.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about something like "The chooser interface MAY offer the user the ability to create new credentials directly. For example, the user agent could provide a form which accepted a username and password, and returned a newly-created PasswordCredential containing that information."

It might also be worthwhile to capture @mnoorenberghe's suggestions in #18 in an "Implementation Considerations" section to make it clear why such an interface might be valuable.


<em>The following image is an exceptionally non-normative mock:</em>

<img src="./mock-chooser.png" alt="A mockup of what a chooser might look like.">
Expand Down