Files
ladybird/Libraries/LibWeb/CredentialManagement/FederatedCredential.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

31 lines
859 B
Plaintext

[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;
};