Table of Contents

Class PasswordCredential

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The PasswordCredential 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.

See also on MDN

Constructors

PasswordCredential()

public PasswordCredential()

PasswordCredential(HTMLFormElement)

NOTE
Experimental
The PasswordCredential() constructor creates a new PasswordCredential object.
public PasswordCredential(HTMLFormElement form)

Parameters

form HTMLFormElement

Remarks

PasswordCredential(PasswordCredentialData)

NOTE
Experimental
The PasswordCredential() constructor creates a new PasswordCredential object.
public PasswordCredential(PasswordCredentialData data)

Parameters

data PasswordCredentialData

Remarks

Properties

Password

NOTE
Experimental
The password read-only property
of 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.

Remarks