Dela via


IdentityPasskeyOptions.VerifyAttestationStatement Property

Definition

Gets or sets a function that verifies the attestation statement of a passkey.

public Func<Microsoft.AspNetCore.Identity.PasskeyAttestationStatementVerificationContext,System.Threading.Tasks.ValueTask<bool>>? VerifyAttestationStatement { get; set; }
member this.VerifyAttestationStatement : Func<Microsoft.AspNetCore.Identity.PasskeyAttestationStatementVerificationContext, System.Threading.Tasks.ValueTask<bool>> with get, set
Public Property VerifyAttestationStatement As Func(Of PasskeyAttestationStatementVerificationContext, ValueTask(Of Boolean))

Property Value

Remarks

This option only applies when creating a new passkey, and already-registered passkeys are not affected by it.

If left null, this function does not perform any verification and always returns true.

Applies to