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

serializeCredentialCreationResponse

Convert a registration/enrollment credential response to server format. Serializes binary fields to base64url for JSON transmission. Supports both native WebAuthn Level 3 toJSON and manual fallback.

function serializeCredentialCreationResponse(credential: RegistrationCredential): RegistrationResponseJSON;
§
serializeCredentialCreationResponse(credential: RegistrationCredential): RegistrationResponseJSON
[src]

§Parameters

§
  • Credential from navigator.credentials.create()

§Return Type

§

JSON-serializable credential for server