Skip to content

Commit

Permalink
Remove the Login Status API spec from the FedCM repo, now that it mov…
Browse files Browse the repository at this point in the history
…ed to its own repo (#648)

SHA: 6acc8f8
Reason: push, by npm1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
samuelgoto and github-actions[bot] committed Sep 5, 2024
1 parent f8fc8d6 commit 70c6e96
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta content="w3c/ED" name="w3c-status">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="http://www.w3.org/TR/fedcm/" rel="canonical">
<meta content="57d30a6d9c3bd3bf0f8a6c1b636095c27df77a81" name="document-revision">
<meta content="6acc8f809a9a4007f52c657f77974187f50bc3bc" name="document-revision">
<style>
dl.domintro dt {
font-family: Menlo, Consolas, "DejaVu Sans Mono", Monaco, monospace;
Expand Down Expand Up @@ -1503,18 +1503,18 @@ <h4 class="heading settled" data-level="2.2.4" id="create-identity-credential"><
<li data-md>
<p class="assertion">Assert: These steps are running <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel" id="ref-for-in-parallel③">in parallel</a>.</p>
<li data-md>
<p>Let <var>loginStatus</var> be the result of <a data-link-type="dfn" href="login-status.html#get-the-login-status" id="ref-for-get-the-login-status">get the login status</a> with
<p>Let <var>loginStatus</var> be the result of <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#get-the-login-status" id="ref-for-get-the-login-status">get the login status</a> with
the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin③">origin</a> of <var>provider</var>’s <code class="idl"><a data-link-type="idl" href="#dom-identityproviderconfig-configurl" id="ref-for-dom-identityproviderconfig-configurl④">configURL</a></code>.</p>
<li data-md>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="login-status.html#unknown" id="ref-for-unknown">unknown</a>, a user agent MAY set it to <a data-link-type="dfn" href="login-status.html#logged-out" id="ref-for-logged-out">logged-out</a>.</p>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#unknown" id="ref-for-unknown">unknown</a>, a user agent MAY set it to <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-out" id="ref-for-logged-out">logged-out</a>.</p>
<li data-md>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="login-status.html#logged-out" id="ref-for-logged-out①">logged-out</a>, the user agent MUST do one of the following:</p>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-out" id="ref-for-logged-out①">logged-out</a>, the user agent MUST do one of the following:</p>
<ul>
<li data-md>
<p>Return (failure, false).</p>
<li data-md>
<p>Prompt the user whether to continue. If the user continues, the user
agent SHOULD set <var>loginStatus</var> to <a data-link-type="dfn" href="login-status.html#unknown" id="ref-for-unknown①">unknown</a>. This MAY include an
agent SHOULD set <var>loginStatus</var> to <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#unknown" id="ref-for-unknown①">unknown</a>. This MAY include an
affordance to <a data-link-type="dfn" href="#show-an-idp-login-dialog" id="ref-for-show-an-idp-login-dialog">show an IDP login dialog</a>.</p>
<ul>
<li data-md>
Expand Down Expand Up @@ -1553,7 +1553,7 @@ <h4 class="heading settled" data-level="2.2.4" id="create-identity-credential"><
<p>If <var>accountsList</var> is failure, or the size of <var>accountsList</var> is 0:</p>
<ol>
<li data-md>
<p><a data-link-type="dfn" href="login-status.html#set-the-login-status" id="ref-for-set-the-login-status">Set the login status</a> for the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑤">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderconfig-configurl" id="ref-for-dom-identityproviderconfig-configurl⑥">configURL</a></code> to <a data-link-type="dfn" href="login-status.html#logged-out" id="ref-for-logged-out②">logged-out</a>.
<p><a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#set-the-login-status" id="ref-for-set-the-login-status">Set the login status</a> for the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑤">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderconfig-configurl" id="ref-for-dom-identityproviderconfig-configurl⑥">configURL</a></code> to <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-out" id="ref-for-logged-out②">logged-out</a>.
A user agent may decide to skip this step if no credentials were
sent to server.</p>
<p class="note" role="note"><span class="marker">Note:</span> For example, if the fetch failed due to a DNS error, no
Expand All @@ -1562,7 +1562,7 @@ <h4 class="heading settled" data-level="2.2.4" id="create-identity-credential"><
the user is signed in or not and so we may not want to reset
the status.</p>
<li data-md>
<p><dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="mismatch-dialog-step">Mismatch dialog step</dfn>: If <var>loginStatus</var> is <a data-link-type="dfn" href="login-status.html#logged-in" id="ref-for-logged-in">logged-in</a>, show a
<p><dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="mismatch-dialog-step">Mismatch dialog step</dfn>: If <var>loginStatus</var> is <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-in" id="ref-for-logged-in">logged-in</a>, show a
dialog to the user. The contents of this dialog are defined by the user
agent. This dialog SHOULD provide an affordance for the user to trigger
the <a data-link-type="dfn" href="#show-an-idp-login-dialog" id="ref-for-show-an-idp-login-dialog②">show an IDP login dialog</a> algorithm with <var>config</var> and <var>provider</var>;
Expand Down Expand Up @@ -1597,7 +1597,7 @@ <h4 class="heading settled" data-level="2.2.4" id="create-identity-credential"><
<li data-md>
<p class="assertion">Assert: <var>accountsList</var> is not failure and the size of <var>accountsList</var> is not 0.</p>
<li data-md>
<p><a data-link-type="dfn" href="login-status.html#set-the-login-status" id="ref-for-set-the-login-status①">Set the login status</a> for the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑥">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderconfig-configurl" id="ref-for-dom-identityproviderconfig-configurl⑦">configURL</a></code> to <a data-link-type="dfn" href="login-status.html#logged-in" id="ref-for-logged-in①">logged-in</a>.</p>
<p><a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#set-the-login-status" id="ref-for-set-the-login-status①">Set the login status</a> for the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑥">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderconfig-configurl" id="ref-for-dom-identityproviderconfig-configurl⑦">configURL</a></code> to <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-in" id="ref-for-logged-in①">logged-in</a>.</p>
<li data-md>
<p>If <var>provider</var>’s <code class="idl"><a data-link-type="idl" href="#dom-identityproviderrequestoptions-loginhint" id="ref-for-dom-identityproviderrequestoptions-loginhint①">loginHint</a></code> is not empty:</p>
<ol>
Expand Down Expand Up @@ -2347,14 +2347,14 @@ <h4 class="heading settled" data-level="2.2.9" id="helper-algorithms"><span clas
<li data-md>
<p>Close the traversable.</p>
<li data-md>
<p>Let <var>loginStatus</var> be the result of <a data-link-type="dfn" href="login-status.html#get-the-login-status" id="ref-for-get-the-login-status①">get the login status</a> with the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑦">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderapiconfig-login_url" id="ref-for-dom-identityproviderapiconfig-login_url④">login_url</a></code>.</p>
<p>Let <var>loginStatus</var> be the result of <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#get-the-login-status" id="ref-for-get-the-login-status①">get the login status</a> with the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin" id="ref-for-concept-origin⑦">origin</a> of the <code class="idl"><a data-link-type="idl" href="#dom-identityproviderapiconfig-login_url" id="ref-for-dom-identityproviderapiconfig-login_url④">login_url</a></code>.</p>
<p class="note" role="note"><span class="marker">Note:</span> The IDP login flow may set this value to logged-in using
either the <a href="JavaScript">login-status.html#login-status-javascript</a> or
[login-status.html#login-status-http](HTTP header) API during the login
flow. It is also possible that this change happened in
a different browsing context.</p>
<li data-md>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="login-status.html#logged-in" id="ref-for-logged-in②">logged-in</a>, return success.</p>
<p>If <var>loginStatus</var> is <a data-link-type="dfn" href="https://w3c-fedid.github.io/login-status#logged-in" id="ref-for-logged-in②">logged-in</a>, return success.</p>
<li data-md>
<p>Otherwise, return failure.</p>
</ol>
Expand Down Expand Up @@ -4560,11 +4560,11 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li>
<a data-link-type="biblio">[LOGIN-STATUS]</a> defines the following terms:
<ul>
<li><span class="dfn-paneled" id="0805bad9">get the login status</span>
<li><span class="dfn-paneled" id="103209f9">logged-in</span>
<li><span class="dfn-paneled" id="eac4371c">logged-out</span>
<li><span class="dfn-paneled" id="541ee903">set the login status</span>
<li><span class="dfn-paneled" id="5ebce556">unknown</span>
<li><span class="dfn-paneled" id="36f0fef5">get the login status</span>
<li><span class="dfn-paneled" id="8e0f82cb">logged-in</span>
<li><span class="dfn-paneled" id="0fb345dd">logged-out</span>
<li><span class="dfn-paneled" id="0d8178d3">set the login status</span>
<li><span class="dfn-paneled" id="c1b65051">unknown</span>
</ul>
<li>
<a data-link-type="biblio">[MIMESNIFF]</a> defines the following terms:
Expand Down Expand Up @@ -5242,11 +5242,11 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['0204d188'] = {"dfnID": "0204d188", "url": "https://infra.spec.whatwg.org/#list-size", "dfnText": "size", "refSections": [{"refs": [{"id": "ref-for-list-size"}], "title": "2.2.3. The [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) internal method"}, {"refs": [{"id": "ref-for-list-size\u2460"}], "title": "2.2.5. Fetch the config file"}, {"refs": [{"id": "ref-for-list-size\u2461"}], "title": "2.2.8. Request permission to sign-up"}], "external": true};
window.dfnpanelData['0698d556'] = {"dfnID": "0698d556", "url": "https://infra.spec.whatwg.org/#string", "dfnText": "string", "refSections": [{"refs": [{"id": "ref-for-string"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['6d19ac93'] = {"dfnID": "6d19ac93", "url": "https://infra.spec.whatwg.org/#user-agent", "dfnText": "user agent", "refSections": [{"refs": [{"id": "ref-for-user-agent"}, {"id": "ref-for-user-agent\u2460"}], "title": "1. Introduction"}, {"refs": [{"id": "ref-for-user-agent\u2461"}], "title": "2.1. The connected accounts set"}, {"refs": [{"id": "ref-for-user-agent\u2462"}, {"id": "ref-for-user-agent\u2463"}, {"id": "ref-for-user-agent\u2464"}], "title": "2.2.4. Create an IdentityCredential"}, {"refs": [{"id": "ref-for-user-agent\u2465"}], "title": "2.2.9. Helper algorithms"}, {"refs": [{"id": "ref-for-user-agent\u2466"}, {"id": "ref-for-user-agent\u2467"}, {"id": "ref-for-user-agent\u2468"}, {"id": "ref-for-user-agent\u2460\u24ea"}, {"id": "ref-for-user-agent\u2460\u2460"}], "title": "3.2. The config file"}, {"refs": [{"id": "ref-for-user-agent\u2460\u2461"}], "title": "3.5. Identity assertion endpoint"}, {"refs": [{"id": "ref-for-user-agent\u2460\u2462"}, {"id": "ref-for-user-agent\u2460\u2463"}, {"id": "ref-for-user-agent\u2460\u2464"}], "title": "3.6. Disconnect endpoint"}, {"refs": [{"id": "ref-for-user-agent\u2460\u2465"}, {"id": "ref-for-user-agent\u2460\u2466"}, {"id": "ref-for-user-agent\u2460\u2467"}, {"id": "ref-for-user-agent\u2460\u2468"}, {"id": "ref-for-user-agent\u2461\u24ea"}], "title": "7.1. Principals"}, {"refs": [{"id": "ref-for-user-agent\u2461\u2460"}], "title": "7.2. Network requests"}, {"refs": [{"id": "ref-for-user-agent\u2461\u2461"}, {"id": "ref-for-user-agent\u2461\u2462"}, {"id": "ref-for-user-agent\u2461\u2463"}, {"id": "ref-for-user-agent\u2461\u2464"}], "title": "7.3.2. Timing Attacks"}, {"refs": [{"id": "ref-for-user-agent\u2461\u2465"}, {"id": "ref-for-user-agent\u2461\u2466"}, {"id": "ref-for-user-agent\u2461\u2467"}], "title": "7.3.3. IDP Intrusion"}, {"refs": [{"id": "ref-for-user-agent\u2461\u2468"}], "title": "7.3.4. Cross-Site Correlation"}], "external": true};
window.dfnpanelData['0805bad9'] = {"dfnID": "0805bad9", "url": "login-status.html#get-the-login-status", "dfnText": "get the login status", "refSections": [{"refs": [{"id": "ref-for-get-the-login-status"}], "title": "2.2.4. Create an IdentityCredential"}, {"refs": [{"id": "ref-for-get-the-login-status\u2460"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['103209f9'] = {"dfnID": "103209f9", "url": "login-status.html#logged-in", "dfnText": "logged-in", "refSections": [{"refs": [{"id": "ref-for-logged-in"}, {"id": "ref-for-logged-in\u2460"}], "title": "2.2.4. Create an IdentityCredential"}, {"refs": [{"id": "ref-for-logged-in\u2461"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['eac4371c'] = {"dfnID": "eac4371c", "url": "login-status.html#logged-out", "dfnText": "logged-out", "refSections": [{"refs": [{"id": "ref-for-logged-out"}, {"id": "ref-for-logged-out\u2460"}, {"id": "ref-for-logged-out\u2461"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['541ee903'] = {"dfnID": "541ee903", "url": "login-status.html#set-the-login-status", "dfnText": "set the login status", "refSections": [{"refs": [{"id": "ref-for-set-the-login-status"}, {"id": "ref-for-set-the-login-status\u2460"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['5ebce556'] = {"dfnID": "5ebce556", "url": "login-status.html#unknown", "dfnText": "unknown", "refSections": [{"refs": [{"id": "ref-for-unknown"}, {"id": "ref-for-unknown\u2460"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['36f0fef5'] = {"dfnID": "36f0fef5", "url": "https://w3c-fedid.github.io/login-status#get-the-login-status", "dfnText": "get the login status", "refSections": [{"refs": [{"id": "ref-for-get-the-login-status"}], "title": "2.2.4. Create an IdentityCredential"}, {"refs": [{"id": "ref-for-get-the-login-status\u2460"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['8e0f82cb'] = {"dfnID": "8e0f82cb", "url": "https://w3c-fedid.github.io/login-status#logged-in", "dfnText": "logged-in", "refSections": [{"refs": [{"id": "ref-for-logged-in"}, {"id": "ref-for-logged-in\u2460"}], "title": "2.2.4. Create an IdentityCredential"}, {"refs": [{"id": "ref-for-logged-in\u2461"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['0fb345dd'] = {"dfnID": "0fb345dd", "url": "https://w3c-fedid.github.io/login-status#logged-out", "dfnText": "logged-out", "refSections": [{"refs": [{"id": "ref-for-logged-out"}, {"id": "ref-for-logged-out\u2460"}, {"id": "ref-for-logged-out\u2461"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['0d8178d3'] = {"dfnID": "0d8178d3", "url": "https://w3c-fedid.github.io/login-status#set-the-login-status", "dfnText": "set the login status", "refSections": [{"refs": [{"id": "ref-for-set-the-login-status"}, {"id": "ref-for-set-the-login-status\u2460"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['c1b65051'] = {"dfnID": "c1b65051", "url": "https://w3c-fedid.github.io/login-status#unknown", "dfnText": "unknown", "refSections": [{"refs": [{"id": "ref-for-unknown"}, {"id": "ref-for-unknown\u2460"}], "title": "2.2.4. Create an IdentityCredential"}], "external": true};
window.dfnpanelData['b1981b98'] = {"dfnID": "b1981b98", "url": "https://mimesniff.spec.whatwg.org/#json-mime-type", "dfnText": "json mime type", "refSections": [{"refs": [{"id": "ref-for-json-mime-type"}], "title": "2.2.9. Helper algorithms"}], "external": true};
window.dfnpanelData['1570624a'] = {"dfnID": "1570624a", "url": "https://w3c.github.io/webappsec-permissions-policy/#policy-controlled-feature-default-allowlist", "dfnText": "default allowlist", "refSections": [{"refs": [{"id": "ref-for-policy-controlled-feature-default-allowlist"}], "title": "4. Permissions Policy Integration"}], "external": true};
window.dfnpanelData['cc890cc1'] = {"dfnID": "cc890cc1", "url": "https://w3c.github.io/webappsec-permissions-policy/#policy-controlled-feature", "dfnText": "policy-controlled feature", "refSections": [{"refs": [{"id": "ref-for-policy-controlled-feature"}], "title": "2.2.1. The disconnect method"}, {"refs": [{"id": "ref-for-policy-controlled-feature\u2460"}], "title": "2.3. The IdentityProvider Interface"}, {"refs": [{"id": "ref-for-policy-controlled-feature\u2461"}], "title": "4. Permissions Policy Integration"}], "external": true};
Expand Down

0 comments on commit 70c6e96

Please sign in to comment.