Skip to content

Latest commit

 

History

History
144 lines (91 loc) · 5.05 KB

DSInternals.Win32.WebAuthn.PublicKeyCredentialCreationOptions.md

File metadata and controls

144 lines (91 loc) · 5.05 KB

Class PublicKeyCredentialCreationOptions

Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll

public sealed class PublicKeyCredentialCreationOptions

Inheritance

objectPublicKeyCredentialCreationOptions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Attestation

Attestation preference for the relying party.

[JsonPropertyName("attestation")]
public AttestationConveyancePreference Attestation { get; set; }

Property Value

AttestationConveyancePreference

AuthenticatorSelection

Properties of WebAuthn authenticators allowed to be used for authentication.

[JsonPropertyName("authenticatorSelection")]
public AuthenticatorSelection AuthenticatorSelection { get; set; }

Property Value

AuthenticatorSelection

Challenge

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; }

Property Value

byte[]

ExcludeCredentials

List of credentials blocked for creations.

[JsonPropertyName("excludeCredentials")]
public IReadOnlyList<PublicKeyCredentialDescriptor> ExcludeCredentials { get; set; }

Property Value

IReadOnlyList<PublicKeyCredentialDescriptor>

Extensions

Additional processing required for the client and WebAuthn authenticator.

[JsonPropertyName("extensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public AuthenticationExtensionsClientInputs Extensions { get; set; }

Property Value

AuthenticationExtensionsClientInputs

PublicKeyCredentialParameters

A set of preferred credential properties for the creation of a new public key credential.

[JsonPropertyName("pubKeyCredParams")]
public IReadOnlyList<PublicKeyCredentialParameter> PublicKeyCredentialParameters { get; set; }

Property Value

IReadOnlyList<PublicKeyCredentialParameter>

RelyingParty

Information about the relying party responsible for the request.

[JsonPropertyName("rp")]
public RelyingPartyInformation RelyingParty { get; set; }

Property Value

RelyingPartyInformation

TimeoutMilliseconds

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; }

Property Value

int

User

Information about the user account for which the credential is generated.

[JsonPropertyName("user")]
public UserInformation User { get; set; }

Property Value

UserInformation