WebIDLpedia

PasswordCredential interface

Definition

Credential Management Level 1 defines PasswordCredential



[Exposed=Window,
 SecureContext]
interface PasswordCredential : Credential {
  constructor(HTMLFormElement form);
  constructor(PasswordCredentialData data);
  readonly attribute USVString password;
};
PasswordCredential includes CredentialUserData;
Consolidated IDL (across mixin and partials)


[Exposed=Window,
 SecureContext]
interface PasswordCredential : Credential {
  constructor(HTMLFormElement form);
  constructor(PasswordCredentialData data);
  readonly attribute USVString password;
  readonly attribute USVString name;
  readonly attribute USVString iconURL;
};

Methods and attributes that return objects implementing PasswordCredential