PublicKeyCredentialCreationOptionsJson Class
The JSON type of the options of a registration (https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptionsjson).
public sealed class PublicKeyCredentialCreationOptionsJsonConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Attestation | Gets the attestation conveyance preference. |
| AttestationFormats | Gets the preferred attestation statement formats. |
| AuthenticatorSelection | Gets the requirements on the authenticator, or null. |
| Challenge | Gets the base64url encoding of the challenge. |
| ExcludeCredentials | Gets the excluded credentials. |
| Extensions | Gets the inputs of the extensions, or null. |
| Hints | Gets the hints of the user interface. |
| PubKeyCredParams | Gets the accepted types of credentials and algorithms. |
| Rp | Gets the relying party. |
| Timeout | Gets the timeout, in milliseconds, or null. |
| User | Gets the user account. |
Attestation
WebAuthenticationDictionaries.csGets the attestation conveyance preference.
public string Attestation { get; init; }AttestationFormats
WebAuthenticationDictionaries.csGets the preferred attestation statement formats.
public IReadOnlyList<string> AttestationFormats { get; init; }AuthenticatorSelection
WebAuthenticationDictionaries.csGets the requirements on the authenticator, or null.
public AuthenticatorSelectionCriteria? AuthenticatorSelection { get; init; }Challenge
WebAuthenticationDictionaries.csGets the base64url encoding of the challenge.
public required string Challenge { get; init; }ExcludeCredentials
WebAuthenticationDictionaries.csGets the excluded credentials.
public IReadOnlyList<PublicKeyCredentialDescriptorJson> ExcludeCredentials { 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; }PubKeyCredParams
WebAuthenticationDictionaries.csGets the accepted types of credentials and algorithms.
public required IReadOnlyList<PublicKeyCredentialParameters> PubKeyCredParams { get; init; }Gets the relying party.
public required PublicKeyCredentialRpEntity Rp { get; init; }Gets the timeout, in milliseconds, or null.
public uint? Timeout { get; init; }Property value
See also
Gets the user account.
public required PublicKeyCredentialUserEntityJson User { get; init; }