mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
The spec is outdated with respect to what is actually implemented by browsers. Point to a PR that aims to update the spec.
33 lines
906 B
Plaintext
33 lines
906 B
Plaintext
#import <CredentialManagement/Credential.idl>
|
|
|
|
[Exposed=Window, SecureContext]
|
|
interface FederatedCredential : Credential {
|
|
constructor(FederatedCredentialInit data);
|
|
readonly attribute USVString provider;
|
|
readonly attribute DOMString? protocol;
|
|
};
|
|
FederatedCredential includes CredentialUserData;
|
|
|
|
dictionary FederatedCredentialRequestOptions {
|
|
sequence<USVString> providers;
|
|
sequence<DOMString> protocols;
|
|
};
|
|
|
|
partial dictionary CredentialRequestOptions {
|
|
FederatedCredentialRequestOptions federated;
|
|
};
|
|
|
|
dictionary FederatedCredentialInit : CredentialData {
|
|
USVString name;
|
|
USVString iconURL;
|
|
required USVString provider;
|
|
DOMString protocol;
|
|
|
|
// We don't carry the "origin" field from the spec.
|
|
// https://github.com/w3c/webappsec-credential-management/pull/131
|
|
};
|
|
|
|
partial dictionary CredentialCreationOptions {
|
|
FederatedCredentialInit federated;
|
|
};
|