Class PasswordCredential
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalPasswordCredential 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 Windowfetch.
[Value("PasswordCredential")]
public class PasswordCredential : Credential, CredentialUserData
- Inheritance
-
PasswordCredential
- Implements
- Inherited Members
Remarks
NOTE
This interface is restricted to top-level contexts and cannot be used from an iframe.
Constructors
PasswordCredential()
public PasswordCredential()
PasswordCredential(HTMLFormElement)
public PasswordCredential(HTMLFormElement form)
Parameters
formHTMLFormElement
Remarks
PasswordCredential(PasswordCredentialData)
public PasswordCredential(PasswordCredentialData data)
Parameters
Remarks
Properties
Password
NOTE
Experimentalpassword read-only propertyof the PasswordCredential interface returns a string
containing the password of the credential.
[Value("password")]
public string Password { get; }
Property Value
- string
A string containing a password.