Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

deserializeCredentialCreationOptions

Convert base64url encoded strings in WebAuthn credential creation options to ArrayBuffers as required by the WebAuthn browser API. Supports both native WebAuthn Level 3 parseCreationOptionsFromJSON and manual fallback.

function deserializeCredentialCreationOptions(options: ServerCredentialCreationOptions): PublicKeyCredentialCreationOptionsFuture;
§

§Parameters

§
  • JSON options from server with base64url encoded fields

§Return Type

§

Options ready for navigator.credentials.create()