PublicKeyCredentialCreationOptionsJson Class

The JSON type of the options of a registration (https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptionsjson).

public sealed class PublicKeyCredentialCreationOptionsJson

Constructors

NameDescription
PublicKeyCredentialCreationOptionsJson()

PublicKeyCredentialCreationOptionsJson()

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 PublicKeyCredentialCreationOptionsJson()

No documentation is available.

Properties

NameDescription
AttestationGets the attestation conveyance preference.
AttestationFormatsGets the preferred attestation statement formats.
AuthenticatorSelectionGets the requirements on the authenticator, or null.
ChallengeGets the base64url encoding of the challenge.
ExcludeCredentialsGets the excluded credentials.
ExtensionsGets the inputs of the extensions, or null.
HintsGets the hints of the user interface.
PubKeyCredParamsGets the accepted types of credentials and algorithms.
RpGets the relying party.
TimeoutGets the timeout, in milliseconds, or null.
UserGets the user account.

Gets the attestation conveyance preference.

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 base64url encoding of the challenge.

public required string Challenge { get; init; }

Gets the hints of the user interface.

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

Gets the accepted types of credentials and algorithms.

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

Gets the timeout, in milliseconds, or null.

public uint? Timeout { get; init; }