PublicKeyCredentialRequestOptions Class

The options of an authentication (https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptions).

public sealed class PublicKeyCredentialRequestOptions

Constructors

NameDescription
PublicKeyCredentialRequestOptions()

PublicKeyCredentialRequestOptions()

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

No documentation is available.

Properties

NameDescription
AllowCredentialsGets the acceptable credentials; empty for the discoverable credentials of the RP ID.
ChallengeGets the challenge, signed by the authenticator.
ExtensionsGets the inputs of the extensions, or null.
HintsGets the hints of the user interface.
RpIdGets the RP ID, or null for the effective domain of the origin of the caller.
TimeoutGets the time the caller is willing to wait, in milliseconds, or null.
UserVerificationGets the user verification requirement (required, preferred or discouraged).

Gets the acceptable credentials; empty for the discoverable credentials of the RP ID.

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

Gets the challenge, signed by the authenticator.

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

Gets the hints of the user interface.

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

Gets the RP ID, or null for the effective domain of the origin of the caller.

public string? RpId { get; init; }

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

public uint? Timeout { get; init; }

Gets the user verification requirement (required, preferred or discouraged).

public string UserVerification { get; init; }