PublicKeyCredentialCreationOptions Class

The options of a registration (https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptions).

public sealed class PublicKeyCredentialCreationOptions

Constructors

NameDescription
PublicKeyCredentialCreationOptions()

PublicKeyCredentialCreationOptions()

WebAuthenticationDictionaries.cs
  • 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 PublicKeyCredentialCreationOptions()

No documentation is available.

Properties

NameDescription
AttestationGets the attestation conveyance preference (none, indirect, direct or enterprise).
AttestationFormatsGets the preferred attestation statement formats.
AuthenticatorSelectionGets the requirements on the authenticator, or null.
ChallengeGets the challenge, signed by the authenticator in the client data.
ExcludeCredentialsGets the existing credentials of the account, which must not be on the authenticator.
ExtensionsGets the inputs of the extensions, or null.
HintsGets the hints of the user interface (security-key, client-device, hybrid).
PubKeyCredParamsGets the accepted types of credentials and algorithms, by preference.
RpGets the relying party.
TimeoutGets the time the caller is willing to wait, in milliseconds, or null.
UserGets the user account.

Gets the attestation conveyance preference (none, indirect, direct or enterprise).

public string Attestation { get; init; }

Gets the preferred attestation statement formats.

public IReadOnlyList<string> AttestationFormats { get; init; }

AuthenticatorSelection

WebAuthenticationDictionaries.cs

Gets the requirements on the authenticator, or null.

public AuthenticatorSelectionCriteria? AuthenticatorSelection { get; init; }

Gets the challenge, signed by the authenticator in the client data.

public required ReadOnlyMemory<byte> Challenge { get; init; }

Gets the existing credentials of the account, which must not be on the authenticator.

public IReadOnlyList<PublicKeyCredentialDescriptor> ExcludeCredentials { get; init; }

Gets the hints of the user interface (security-key, client-device, hybrid).

public IReadOnlyList<string> Hints { get; init; }

Gets the accepted types of credentials and algorithms, by preference.

public required IReadOnlyList<PublicKeyCredentialParameters> PubKeyCredParams { get; init; }

Gets the time the caller is willing to wait, in milliseconds, or null.

public uint? Timeout { get; init; }