You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="issue" id="issue-a3de5bfb"><aclass="self-link" href="#issue-a3de5bfb"></a> How do we deal with a future in which
1859
-
<codeclass="idl"><adata-link-type="idl" href="#originboundcredential">OriginBoundCredential</a></code> isn’t the only type? For example, how could an
1860
-
author pull some "RemoteCredential" that required interaction with a
1861
-
third-party, but fall back to a <codeclass="idl"><adata-link-type="idl" href="#passwordcredential">PasswordCredential</a></code>? For the moment, we’re
1862
-
resolving this by rejecting the promise if the types listed in
1863
-
<codeclass="idl"><adata-link-type="idl" href="#dom-credentialcontainer-get">get()</a></code>'s <codeclass="idl"><aclass="idl-code" data-link-type="argument" href="#dom-credentialcontainer-get-options-options">options</a></code> aren’t all instances of
1864
-
the same type, but that seems like something we’d want to fix. <ahref="https://github.com/w3c/webappsec/issues/256"><https://github.com/w3c/webappsec/issues/256></a></p>
1858
+
<pclass="note" role="note">Note: Currently, we reject a call to <codeclass="idl"><adata-link-type="idl" href="#dom-credentialcontainer-get">get()</a></code> if the
1859
+
<var>options</var> provided specify a set of <codeclass="idl"><adata-link-type="idl" href="#credential">Credential</a></code> types that don’t
1860
+
play well together (e.g. some future "NeedsLotsOfUserInteractionCredential"
1861
+
type in the same request as an <codeclass="idl"><adata-link-type="idl" href="#passwordcredential">PasswordCredential</a></code>). We may wish to define
1862
+
a more graceful fallback mechanism if/when new credential types are defined.</p>
<divclass="issue"> This is terribly hand-wavey. The intent is
3653
3651
clear, but I need to do the work to walk through the list of DOMStrings
3654
3652
and convert them to interfaces and etc. Busywork for later. <ahref="https://github.com/w3c/webappsec/issues/289"><https://github.com/w3c/webappsec/issues/289></a><ahref="#issue-6005a2a4"> ↵ </a></div>
3655
-
<divclass="issue"> How do we deal with a future in which
3656
-
<codeclass="idl"><adata-link-type="idl" href="#originboundcredential">OriginBoundCredential</a></code> isn’t the only type? For example, how could an
3657
-
author pull some "RemoteCredential" that required interaction with a
3658
-
third-party, but fall back to a <codeclass="idl"><adata-link-type="idl" href="#passwordcredential">PasswordCredential</a></code>? For the moment, we’re
3659
-
resolving this by rejecting the promise if the types listed in
3660
-
<codeclass="idl"><adata-link-type="idl" href="#dom-credentialcontainer-get">get()</a></code>'s <codeclass="idl"><aclass="idl-code" data-link-type="argument" href="#dom-credentialcontainer-get-options-options">options</a></code> aren’t all instances of
3661
-
the same type, but that seems like something we’d want to fix. <ahref="https://github.com/w3c/webappsec/issues/256"><https://github.com/w3c/webappsec/issues/256></a><ahref="#issue-a3de5bfb"> ↵ </a></div>
3662
3653
<divclass="issue"> Add some thoughts here about when and how the API
3663
3654
should be used, especially with regard to <codeclass="idl"><adata-link-type="idl" href="#dom-credentialrequestoptions-suppressui">suppressUI</a></code>. <ahref="https://github.com/w3c/webappsec/issues/290"><https://github.com/w3c/webappsec/issues/290></a><ahref="#issue-e1d9f1af"> ↵ </a></div>
0 commit comments