SignInManager<TUser>.PerformPasskeyAttestationAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs passkey attestation for the given credentialJson.
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasskeyAttestationResult> PerformPasskeyAttestationAsync(string credentialJson);
abstract member PerformPasskeyAttestationAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasskeyAttestationResult>
override this.PerformPasskeyAttestationAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.PasskeyAttestationResult>
Public Overridable Function PerformPasskeyAttestationAsync (credentialJson As String) As Task(Of PasskeyAttestationResult)
Parameters
- credentialJson
- String
The credentials obtained by JSON-serializing the result of the navigator.credentials.create() JavaScript function.
Returns
A task object representing the asynchronous operation containing the PasskeyAttestationResult.
Remarks
The credentialJson should be obtained by JSON-serializing the result of the navigator.credentials.create() JavaScript API. The argument to navigator.credentials.create() should be obtained by calling MakePasskeyCreationOptionsAsync(PasskeyUserEntity).