|
963 | 963 | {
|
964 | 964 | "name": "fetch an identity assertion",
|
965 | 965 | "href": "https://w3c-fedid.github.io/FedCM/#fetch-an-identity-assertion",
|
966 |
| - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"fetch-an-identity-assertion\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">fetch an identity assertion</dfn> given a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-USVString\" id=\"ref-for-idl-USVString③②\">USVString</a></code>\n <var>accountId</var>, a boolean <var>permissionRequested</var>, a boolean <var>isAutoSelected</var>, an\n <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dictdef-identityproviderrequestoptions\" id=\"ref-for-dictdef-identityproviderrequestoptions④\">IdentityProviderRequestOptions</a></code> <var>provider</var>, an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dictdef-identityproviderapiconfig\" id=\"ref-for-dictdef-identityproviderapiconfig④\">IdentityProviderAPIConfig</a></code> <var>config</var>,\n and <var>globalObject</var>, run the following steps. This returns an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#identitycredential\" id=\"ref-for-identitycredential①①\">IdentityCredential</a></code> or an\n <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#identitycredentialerror\" id=\"ref-for-identitycredentialerror⑤\">IdentityCredentialError</a></code>.", |
| 966 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"fetch-an-identity-assertion\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">fetch an identity assertion</dfn> given a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-USVString\" id=\"ref-for-idl-USVString③①\">USVString</a></code>\n <var>accountId</var>, a boolean <var>permissionRequested</var>, a boolean <var>isAutoSelected</var>, an\n <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dictdef-identityproviderrequestoptions\" id=\"ref-for-dictdef-identityproviderrequestoptions④\">IdentityProviderRequestOptions</a></code> <var>provider</var>, an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dictdef-identityproviderapiconfig\" id=\"ref-for-dictdef-identityproviderapiconfig④\">IdentityProviderAPIConfig</a></code> <var>config</var>,\n and <var>globalObject</var>, run the following steps. This returns an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#identitycredential\" id=\"ref-for-identitycredential①①\">IdentityCredential</a></code> or an\n <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#identitycredentialerror\" id=\"ref-for-identitycredentialerror⑤\">IdentityCredentialError</a></code>.", |
967 | 967 | "rationale": ".algorithm",
|
968 | 968 | "steps": [
|
969 | 969 | {
|
|
984 | 984 | {
|
985 | 985 | "html": "<p><dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-for=\"fetch identity assertion\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"fetch-identity-assertion-create-a-list\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">Create a list</dfn>: let <var>list</var> be a list with the\nfollowing entries:</p>",
|
986 | 986 | "ignored": [
|
987 |
| - "(\"client_id\", provider’s clientId) (\"nonce\", provider’s nonce) (\"account_id\", accountId) (\"is_auto_selected\", isAutoSelected)" |
| 987 | + "(\"client_id\", provider’s clientId) (\"account_id\", accountId) (\"is_auto_selected\", isAutoSelected)" |
988 | 988 | ]
|
989 | 989 | },
|
990 | 990 | {
|
991 |
| - "html": "If <var>provider</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityproviderrequestoptions-params\" id=\"ref-for-dom-identityproviderrequestoptions-params\">params</a></code> is not empty:", |
| 991 | + "html": "If <var>provider</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityproviderrequestoptions-params\" id=\"ref-for-dom-identityproviderrequestoptions-params①\">params</a></code> is not empty:", |
992 | 992 | "rationale": "let",
|
993 | 993 | "steps": [
|
994 | 994 | {
|
995 |
| - "html": "<p>Let <var>json</var> be the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\" id=\"ref-for-serialize-a-javascript-value-to-a-json-string\">serializing a JavaScript value to a JSON string</a>\nwith <var>provider</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityproviderrequestoptions-params\" id=\"ref-for-dom-identityproviderrequestoptions-params①\">params</a></code>.</p>" |
| 995 | + "html": "<p>Let <var>json</var> be the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\" id=\"ref-for-serialize-a-javascript-value-to-a-json-string\">serializing a JavaScript value to a JSON string</a>\nwith <var>provider</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityproviderrequestoptions-params\" id=\"ref-for-dom-identityproviderrequestoptions-params②\">params</a></code>.</p>" |
996 | 996 | },
|
997 | 997 | {
|
998 | 998 | "html": "<p>If serializing threw an exception, return failure.</p>"
|
|
1067 | 1067 | ]
|
1068 | 1068 | },
|
1069 | 1069 | {
|
1070 |
| - "html": "<p>Otherwise, if <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityassertionresponse-token\" id=\"ref-for-dom-identityassertionresponse-token②\">token</a></code> was specified, let <var>tokenString</var>\nbe <var>token</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityassertionresponse-token\" id=\"ref-for-dom-identityassertionresponse-token③\">token</a></code>.</p>" |
| 1070 | + "html": "<p>Otherwise, if <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityassertionresponse-token\" id=\"ref-for-dom-identityassertionresponse-token①\">token</a></code> was specified, let <var>tokenString</var>\nbe <var>token</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityassertionresponse-token\" id=\"ref-for-dom-identityassertionresponse-token②\">token</a></code>.</p>" |
1071 | 1071 | },
|
1072 | 1072 | {
|
1073 | 1073 | "html": "Otherwise, if <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c-fedid.github.io/FedCM/#dom-identityassertionresponse-continue_on\" id=\"ref-for-dom-identityassertionresponse-continue_on\">continue_on</a></code> was specified, run these steps\n<a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel\" id=\"ref-for-in-parallel④\">in parallel</a>:",
|
|
1142 | 1142 | {
|
1143 | 1143 | "name": "parse url",
|
1144 | 1144 | "href": "https://w3c-fedid.github.io/FedCM/#parse-url",
|
1145 |
| - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"parse-url\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">parse url</dfn> given a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-USVString\" id=\"ref-for-idl-USVString③⑦\">USVString</a></code> <var>stringUrl</var>, a <var>globalObject</var>, and an optional\n<var>baseUrl</var> (default null), run the following steps. This returns a <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url\" id=\"ref-for-concept-url②\">URL</a> or failure.", |
| 1145 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"parse-url\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">parse url</dfn> given a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-USVString\" id=\"ref-for-idl-USVString③⑥\">USVString</a></code> <var>stringUrl</var>, a <var>globalObject</var>, and an optional\n<var>baseUrl</var> (default null), run the following steps. This returns a <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url\" id=\"ref-for-concept-url②\">URL</a> or failure.", |
1146 | 1146 | "rationale": ".algorithm",
|
1147 | 1147 | "steps": [
|
1148 | 1148 | {
|
|
0 commit comments