PublicKeyCredentialRequestOptions Class
The options of an authentication (https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptions).
public sealed class PublicKeyCredentialRequestOptionsConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| AllowCredentials | Gets the acceptable credentials; empty for the discoverable credentials of the RP ID. |
| Challenge | Gets the challenge, signed by the authenticator. |
| Extensions | Gets the inputs of the extensions, or null. |
| Hints | Gets the hints of the user interface. |
| RpId | Gets the RP ID, or null for the effective domain of the origin of the caller. |
| Timeout | Gets the time the caller is willing to wait, in milliseconds, or null. |
| UserVerification | Gets the user verification requirement (required, preferred or discouraged). |
AllowCredentials
WebAuthenticationDictionaries.csGets the acceptable credentials; empty for the discoverable credentials of the RP ID.
public IReadOnlyList<PublicKeyCredentialDescriptor> AllowCredentials { get; init; }Challenge
WebAuthenticationDictionaries.csGets the challenge, signed by the authenticator.
public required ReadOnlyMemory<byte> Challenge { get; init; }Extensions
WebAuthenticationDictionaries.csGets the inputs of the extensions, or null.
public AuthenticationExtensionsClientInputs? Extensions { 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; }Property value
See also
Gets the time the caller is willing to wait, in milliseconds, or null.
public uint? Timeout { get; init; }Property value
See also
UserVerification
WebAuthenticationDictionaries.csGets the user verification requirement (required, preferred or discouraged).
public string UserVerification { get; init; }