Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll
public sealed class PublicKeyCredentialCreationOptions
object ← PublicKeyCredentialCreationOptions
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Attestation preference for the relying party.
[JsonPropertyName("attestation")]
public AttestationConveyancePreference Attestation { get; set; }
AttestationConveyancePreference
Properties of WebAuthn authenticators allowed to be used for authentication.
[JsonPropertyName("authenticatorSelection")]
public AuthenticatorSelection AuthenticatorSelection { get; set; }
A challenge generated by Microsoft Entra ID and sent back with the registration request to prevent replay attacks.
[JsonPropertyName("challenge")]
[JsonConverter(typeof(Base64UrlConverter))]
public byte[] Challenge { get; set; }
byte[]
List of credentials blocked for creations.
[JsonPropertyName("excludeCredentials")]
public IReadOnlyList<PublicKeyCredentialDescriptor> ExcludeCredentials { get; set; }
IReadOnlyList<PublicKeyCredentialDescriptor>
Additional processing required for the client and WebAuthn authenticator.
[JsonPropertyName("extensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public AuthenticationExtensionsClientInputs Extensions { get; set; }
AuthenticationExtensionsClientInputs
A set of preferred credential properties for the creation of a new public key credential.
[JsonPropertyName("pubKeyCredParams")]
public IReadOnlyList<PublicKeyCredentialParameter> PublicKeyCredentialParameters { get; set; }
IReadOnlyList<PublicKeyCredentialParameter>
Information about the relying party responsible for the request.
[JsonPropertyName("rp")]
public RelyingPartyInformation RelyingParty { get; set; }
The time in milliseconds that the client is willing to wait for the credential creation operation to complete.
[JsonPropertyName("timeout")]
public int TimeoutMilliseconds { get; set; }
Information about the user account for which the credential is generated.
[JsonPropertyName("user")]
public UserInformation User { get; set; }