mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	 da9eaf8788
			
		
	
	
		da9eaf8788
		
	
	
	
	
		
			
			Stub out basic Credential Management APIs and import IDL tests. Spec: https://w3c.github.io/webappsec-credential-management/
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			809 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			809 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #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 origin;
 | |
|     required USVString provider;
 | |
|     DOMString protocol;
 | |
| };
 | |
| 
 | |
| partial dictionary CredentialCreationOptions {
 | |
|     FederatedCredentialInit federated;
 | |
| };
 |