CredentialRequestOptions Class

The options of CredentialsContainer.Get (https://w3c.github.io/webappsec-credential-management/#dictdef-credentialrequestoptions).

public sealed class CredentialRequestOptions

Constructors

NameDescription
CredentialRequestOptions()

CredentialRequestOptions()

CredentialsContainer.cs
public CredentialRequestOptions()

No documentation is available.

Properties

NameDescription
DigitalGets the digital credential presentation requests, or null.
FederatedGets the federated credentials that are requested, or null.
IdentityGets the FedCM request (the identity providers of the site), or null.
MediationGets the mediation requirement of the request.
PasswordGets whether the stored PasswordCredential of the origin are requested.
PublicKeyGets the options of a Web Authentication assertion, or null.
SignalGets the signal that aborts the request.
UiModeGets the user interface mode of the request (a value of CredentialUiMode), or null.

Gets the digital credential presentation requests, or null.

public DigitalCredentialRequestOptions? Digital { get; init; }

Gets the federated credentials that are requested, or null.

public FederatedCredentialRequestOptions? Federated { get; init; }

Gets the FedCM request (the identity providers of the site), or null.

public IdentityCredentialRequestOptions? Identity { get; init; }

Gets whether the stored PasswordCredential of the origin are requested.

public bool Password { get; init; }

Gets the options of a Web Authentication assertion, or null.

public PublicKeyCredentialRequestOptions? PublicKey { get; init; }

Gets the signal that aborts the request.

public AbortSignal? Signal { get; init; }

Gets the user interface mode of the request (a value of CredentialUiMode), or null.

public string? UiMode { get; init; }