PublicKeyCredentialCreationOptions Class
The options of a registration (https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptions).
public sealed class PublicKeyCredentialCreationOptionsConstructors
| Name | Description |
|---|---|
| PublicKeyCredentialCreationOptions() |
PublicKeyCredentialCreationOptions()
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 PublicKeyCredentialCreationOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Attestation | Gets the attestation conveyance preference (none, indirect, direct or enterprise). |
| AttestationFormats | Gets the preferred attestation statement formats. |
| AuthenticatorSelection | Gets the requirements on the authenticator, or null. |
| Challenge | Gets the challenge, signed by the authenticator in the client data. |
| ExcludeCredentials | Gets the existing credentials of the account, which must not be on the authenticator. |
| Extensions | Gets the inputs of the extensions, or null. |
| Hints | Gets the hints of the user interface (security-key, client-device, hybrid). |
| PubKeyCredParams | Gets the accepted types of credentials and algorithms, by preference. |
| Rp | Gets the relying party. |
| Timeout | Gets the time the caller is willing to wait, in milliseconds, or null. |
| User | Gets the user account. |
Attestation
WebAuthenticationDictionaries.csGets the attestation conveyance preference (none, indirect, direct or enterprise).
public string Attestation { get; init; }Property value
See also
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 challenge, signed by the authenticator in the client data.
public required ReadOnlyMemory<byte> Challenge { get; init; }ExcludeCredentials
WebAuthenticationDictionaries.csGets the existing credentials of the account, which must not be on the authenticator.
public IReadOnlyList<PublicKeyCredentialDescriptor> ExcludeCredentials { get; init; }Extensions
WebAuthenticationDictionaries.csGets the inputs of the extensions, or null.
public AuthenticationExtensionsClientInputs? Extensions { get; init; }Gets the hints of the user interface (security-key, client-device, hybrid).
public IReadOnlyList<string> Hints { get; init; }PubKeyCredParams
WebAuthenticationDictionaries.csGets the accepted types of credentials and algorithms, by preference.
public required IReadOnlyList<PublicKeyCredentialParameters> PubKeyCredParams { get; init; }Gets the relying party.
public required PublicKeyCredentialRpEntity Rp { get; init; }Gets the time the caller is willing to wait, in milliseconds, or null.
public uint? Timeout { get; init; }Property value
See also
Gets the user account.
public required PublicKeyCredentialUserEntity User { get; init; }