Search completed in 1.22 seconds.
PasswordCredential - Web APIs
id: The ID of the user signing in. ...
... id: The ID of the user signing in. ...
... The PasswordCredential constructor creates a new PasswordCredential object. In supporting browsers, an instance of this class may be passed the credential from the init object for global fetch. Syntax var myCredential = new PasswordCredential(
passwordCredentialData) var myCredential = new PasswordCredential(HTMLFormElement) Parameters Either of the following:
passwordCredentialData A
PasswordCredentialData dictionary containing the following fields: iconURL: (Optional) the URL of a user's avatar image. id: The ID of the user signing in. name: (Optional) The name of the user signing in. password: The password of the user signing in. htmlFormElement A reference to an HTMLFormElement with appropriate input fields. The form should, at the very least, contain an id and password. It could ...
CredentialsContainer.create() - Web APIs
within an <iframe> element will resolve without effect. Syntax var promise = CredentialsContainer.create([options]) Parameters options An object of type CredentialCreationOptions that contains options for the requested new Credentials object. It must include one of the options "password", "federated", or "publicKey". The options are: password: Optional Either an HTMLFormElement, or a
PasswordCredentialData object. TBD id: (required) USVString Inherited from CredentialData. name: Optional USVString TBD iconURL: Optional USVString TBD password: (required) USVString TBD federated: Optional An FederatedCredentialInit object. Contains requirements for creating/obtaining federated credentials. The available options are: id: (required) USVString Inherited from Credenti...