const cred = new FederatedCredential({
id,
name,
provider: "https://account.google.com",
iconURL,
});
// Store it
navigator.credentials.store(cred).then(() => {
// Do something else.
});FederatedCredential / notebook
FederatedCredential
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.