PasswordCredentialData Class

The data of a PasswordCredential (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata).

public sealed class PasswordCredentialData : CredentialData
Inheritance
CredentialData PasswordCredentialData

Constructors

NameDescription
PasswordCredentialData()

PasswordCredentialData()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PasswordCredentialData()

No documentation is available.

Properties

NameDescription
IconUrlGets the URL of the image of the account, displayed by the credential chooser.
NameGets the name of the account, displayed by the credential chooser.
OriginGets the serialization of the origin of the credential (e.g. https://example.com).
PasswordGets the password.

Gets the URL of the image of the account, displayed by the credential chooser.

public string? IconUrl { get; init; }

Gets the name of the account, displayed by the credential chooser.

public string? Name { get; init; }

Gets the serialization of the origin of the credential (e.g. https://example.com).

public required string Origin { get; init; }

Gets the password.

public required string Password { get; init; }