PasswordCredential class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Credential Management API provides information about a username/password pair. In supporting browsers an instance of this class may be passed in the credential member of the init object for global fetch().

Note: This interface is restricted to top-level contexts and cannot be used from an <iframe>.

Credential

PasswordCredential

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PasswordCredential(HTMLFormElement form)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
iconURL String

Available on CredentialUserData, provided by the PropsCredentialUserData extension

no setter
id String

Available on Credential, provided by the PropsCredential extension

no setter
name String

Available on CredentialUserData, provided by the PropsCredentialUserData extension

no setter
password String

Available on PasswordCredential, provided by the PropsPasswordCredential extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String

Available on Credential, provided by the PropsCredential extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited