From 6f8e7a4989d2c55eb7e56ae9aaec414048b0f723 Mon Sep 17 00:00:00 2001 From: Simone Onofri Date: Fri, 16 Aug 2024 17:27:01 +0000 Subject: [PATCH] FPWD preparation (#634) SHA: beadf81555b0d51cd53667661f091bafe57cfa46 Reason: push, by samuelgoto Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- index.html | 845 ++++++++++++++++++----------------------------------- 1 file changed, 287 insertions(+), 558 deletions(-) diff --git a/index.html b/index.html index 2982cef7..ebfa4767 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,12 @@ - Federated Credential Management API - + Federated Credential Management API + - - + + - +

Federated Credential Management API

-

Draft Community Group Report,

-
-
-
This version: -
https://fedidcg.github.io/FedCM/ -
Test Suite: -
https://github.com/web-platform-tests/wpt/blob/master/credential-management/ -
Issue Tracking: -
GitHub -
Inline In Spec -
Editor: -
(Google Inc.) -
Former Editor: -
(Google Inc.) -
-
+

W3C First Public Working Draft,

+
+ More details about this document +
+
+
This version: +
https://www.w3.org/TR/2024/WD-fedcm-1-20240816/ +
Latest published version: +
https://www.w3.org/TR/fedcm/ +
Editor's Draft: +
https://w3c-fedid.github.io/FedCM/ +
History: +
https://www.w3.org/standards/history/fedcm-1/ +
Test Suite: +
https://github.com/web-platform-tests/wpt/blob/master/credential-management/ +
Feedback: +
GitHub +
Inline In Spec +
Editor: +
(Google Inc.) +
Former Editor: +
(Google Inc.) +
+
+
- +

Abstract

A Web Platform API that allows users to login to websites with their federated accounts in a privacy preserving manner.

-
-

Status of this document

+

Status of this document

-

This specification was published by the Federated Identity Community Group. - It is not a W3C Standard nor is it on the W3C Standards Track. - - Please note that under the W3C Community Contributor License Agreement (CLA) there is a limited opt-out and other conditions apply. - - Learn more about W3C Community and Business Groups.

+

This section describes the status of this document at the time of + its publication. A list of + current W3C publications and the latest revision of this technical report + can be found in the W3C technical reports + index at https://www.w3.org/TR/.

+

This document was published by the Federated Identity Working Group as a First Public Working Draft using the Recommendation + track. This document is intended to become a W3C Recommendation.

+

The (archived) public mailing list public-fedid-wg@w3.org (see instructions) + is preferred for discussion of this specification. + When sending e-mail, + please put the text “fedcm” in the subject, + preferably like this: + “[fedcm] …summary of comment…

+

This document is a First Public Working Draft.

+

Publication as a First Public Working Draft does not imply endorsement by W3C and its Members. This is a draft document and may be updated, replaced or + obsoleted by other documents at any time. It is inappropriate to cite this + document as other than work in progress.

+

This document was produced by the Federated Identity Working Group.

+

This document was produced by a group operating under + the W3C Patent Policy. + W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; + that page also includes instructions for disclosing a patent. + An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

+

This document is governed by the 03 November 2023 W3C Process Document.

@@ -1044,6 +850,7 @@

Table of Contents

Conformance
  1. Document conventions +
  2. Conformant Algorithms
  • Index @@ -1375,12 +1182,12 @@

    Note: The user agent MAY want to reset the state to unknown, since is impossible to know whether this cookie affects authorization state.

    -
    the user agent receives a Clear-Site-Data header with a +
    the user agent receives a Clear-Site-Data header with a value of "cookies" or "*", and the request's client is not null, and the client’s origin is same origin with the top-level origin
    -

    while clearing cookies for +

    while clearing cookies for origin it MUST remove any entries in the Login Status Map where the key is the input origin.

    Once Clear-Site-Data supports partitioned cookies, @@ -1465,22 +1272,22 @@

    2.3. The IdentityCredential Interface

    -

    This specification introduces a new type of Credential, called an IdentityCredential:

    +

    This specification introduces a new type of Credential, called an IdentityCredential:

    dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
       required USVString accountHint;
     };
     
     [Exposed=Window, SecureContext]
    -interface IdentityCredential : Credential {
    +interface IdentityCredential : Credential {
       static Promise<undefined> disconnect(optional IdentityCredentialDisconnectOptions options = {});
       readonly attribute USVString? token;
       readonly attribute boolean isAutoSelected;
     };
     
    -
    id +
    id
    -

    The id's attribute getter returns the empty string.

    +

    The id's attribute getter returns the empty string.

    token

    The token's attribute getter returns the value it is set to. @@ -1490,12 +1297,12 @@

    isAutoSelected's attribute getter returns the value it is set to. It represents whether the user’s identity credential was automatically selected when going through the UI flow which resulted in this IdentityCredential.

    -
    [[type]] +
    [[type]]
    -

    The IdentityCredential's [[type]]'s value is "identity".

    -
    [[discovery]] +

    The IdentityCredential's [[type]]'s value is "identity".

    +
    [[discovery]]
    -

    The IdentityCredential's [[discovery]]'s value is remote.

    +

    The IdentityCredential's [[discovery]]'s value is remote.

    The main entrypoint in this specification is through the entrypoints exposed by the Credential Management API.

    @@ -1508,7 +1315,7 @@