PublicKeyCredentialRequestOptionsJson Class
The JSON type of the options of an authentication (https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptionsjson).
public sealed class PublicKeyCredentialRequestOptionsJsonConstructors
| Name | Description |
|---|---|
| PublicKeyCredentialRequestOptionsJson() |
PublicKeyCredentialRequestOptionsJson()
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 PublicKeyCredentialRequestOptionsJson()No documentation is available.
Properties
| Name | Description |
|---|---|
| AllowCredentials | Gets the acceptable credentials. |
| Challenge | Gets the base64url encoding of the challenge. |
| Extensions | Gets the inputs of the extensions, or null. |
| Hints | Gets the hints of the user interface. |
| RpId | Gets the RP ID, or null. |
| Timeout | Gets the timeout, in milliseconds, or null. |
| UserVerification | Gets the user verification requirement. |
AllowCredentials
WebAuthenticationDictionaries.csGets the acceptable credentials.
public IReadOnlyList<PublicKeyCredentialDescriptorJson> AllowCredentials { get; init; }Challenge
WebAuthenticationDictionaries.csGets the base64url encoding of the challenge.
public required string Challenge { get; init; }Extensions
WebAuthenticationDictionaries.csGets the inputs of the extensions, or null.
public AuthenticationExtensionsClientInputsJson? Extensions { get; init; }Gets the hints of the user interface.
public IReadOnlyList<string> Hints { get; init; }Gets the timeout, in milliseconds, or null.
public uint? Timeout { get; init; }Property value
See also
UserVerification
WebAuthenticationDictionaries.csGets the user verification requirement.
public string UserVerification { get; init; }