mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-11 18:51:05 +00:00
22 lines
734 B
Text
22 lines
734 B
Text
|
|
#import <CredentialManagement/Credential.idl>
|
||
|
|
#import <CredentialManagement/FederatedCredential.idl>
|
||
|
|
#import <CredentialManagement/PasswordCredential.idl>
|
||
|
|
|
||
|
|
[Exposed=Window, SecureContext]
|
||
|
|
interface CredentialsContainer {
|
||
|
|
Promise<Credential?> get(optional CredentialRequestOptions options = {});
|
||
|
|
Promise<undefined> store(Credential credential);
|
||
|
|
Promise<Credential?> create(optional CredentialCreationOptions options = {});
|
||
|
|
Promise<undefined> preventSilentAccess();
|
||
|
|
};
|
||
|
|
|
||
|
|
dictionary CredentialRequestOptions {
|
||
|
|
CredentialMediationRequirement mediation = "optional";
|
||
|
|
AbortSignal signal;
|
||
|
|
};
|
||
|
|
|
||
|
|
dictionary CredentialCreationOptions {
|
||
|
|
CredentialMediationRequirement mediation = "optional";
|
||
|
|
AbortSignal signal;
|
||
|
|
};
|