PasswordCredentialData Class
The data of a PasswordCredential (https://w3c.github.io/webappsec-credential-management/#dictdef-passwordcredentialdata).
public sealed class PasswordCredentialData : CredentialData- Inheritance
CredentialDataPasswordCredentialData
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| IconUrl | Gets the URL of the image of the account, displayed by the credential chooser. |
| Name | Gets the name of the account, displayed by the credential chooser. |
| Origin | Gets the serialization of the origin of the credential (e.g. https://example.com). |
| Password | Gets the password. |
IconUrl
PasswordCredential.csGets 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; }Origin
PasswordCredential.csGets the serialization of the origin of the credential (e.g. https://example.com).
public required string Origin { get; init; }Password
PasswordCredential.csGets the password.
public required string Password { get; init; }