Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.05 KB

File metadata and controls

24 lines (17 loc) · 1.05 KB

PasswordCredential

Namespace: SpawnDev.SpawnJS.JSObjects
Inherits: Credential
Source: JSObjects/PasswordCredential.cs

The PasswordCredential interface of the Credential Management API provides information about a username/password pair.

Constructors

Signature Description
PasswordCredential(SpawnJSObjectReference _ref) Deserialization constructor
PasswordCredential(PasswordCredentialData data) The PasswordCredential() constructor creates a new PasswordCredential object.
PasswordCredential(HTMLFormElement data) The PasswordCredential() constructor creates a new PasswordCredential object.

Properties

Property Type Access Description
IconURL string? get Returns a string containing a URL of an image for a user's avatar.
Name string? get Returns a string containing the name used to display the user's name when sign-in or sign-up is in progress.
Password string? get Returns a string containing the user's password.