mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
Aligning with the Chromium implementation, deviating from the spec we remove the 'origin' attribute from FederatedCredentialInit and PasswordCredentialData.
30 lines
778 B
Plaintext
30 lines
778 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;
|
|
};
|
|
|
|
partial dictionary CredentialCreationOptions {
|
|
FederatedCredentialInit federated;
|
|
};
|