storeCredential method
A wrapper for the store
method of the browser's native credential manager API.
It can only be used to store a Password Credential.
See: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store
Method: google.accounts.id.storeCredential https://developers.google.com/identity/gsi/web/reference/js-reference#google.accounts.id.storeCredential
Implementation
void storeCredential(Credential credential, [VoidFn? callback]) {
if (callback == null) {
return _jsStoreCredential(credential);
}
return _jsStoreCredentialWithCallback(credential, callback.toJS);
}