blob: 8de87e88b05fff5ff871b0c8c877adb759933870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
[Exposed=Window, SecureContext]
interface IdentityCredential : Credential {
readonly attribute USVString? token;
};
partial dictionary CredentialRequestOptions {
IdentityCredentialRequestOptions identity;
};
dictionary IdentityCredentialRequestOptions {
sequence<IdentityProviderConfig> providers;
};
dictionary IdentityProviderConfig {
required USVString configURL;
required USVString clientId;
USVString nonce;
};
dictionary IdentityProviderWellKnown {
required sequence<USVString> provider_urls;
};
dictionary IdentityProviderIcon {
required USVString url;
unsigned long size;
};
dictionary IdentityProviderBranding {
USVString background_color;
USVString color;
sequence<IdentityProviderIcon> icons;
USVString name;
};
dictionary IdentityProviderAPIConfig {
required USVString accounts_endpoint;
required USVString client_metadata_endpoint;
required USVString id_assertion_endpoint;
IdentityProviderBranding branding;
};
dictionary IdentityProviderAccount {
required USVString id;
required USVString name;
required USVString email;
USVString given_name;
USVString picture;
sequence<USVString> approved_clients;
};
dictionary IdentityProviderAccountList {
sequence<IdentityProviderAccount> accounts;
};
dictionary IdentityProviderToken {
required USVString token;
};
dictionary IdentityProviderClientMetadata {
USVString privacy_policy_url;
USVString terms_of_service_url;
};
|