Skip to content

Commit

Permalink
chore(docs): add reference link to WebAuthn spec for
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Taiwo committed Jan 12, 2025
1 parent 7f7c037 commit 9f87265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function register(options: RegisterOptions): Promise<RegistrationJS
residentKey: options.discoverable ?? 'preferred', // see https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialCreationOptions#residentkey
requireResidentKey: (options.discoverable === 'required') // mainly for backwards compatibility, see https://www.w3.org/TR/webauthn/#dictionary-authenticatorSelection
},
excludeCredentials: options?.excludeCredentials?.map(toPublicKeyCredentialDescriptor),
excludeCredentials: options?.excludeCredentials?.map(toPublicKeyCredentialDescriptor), // see https://www.w3.org/TR/webauthn/#dictionary-makecredentialoptions
attestation: "direct"
}

Expand Down

0 comments on commit 9f87265

Please sign in to comment.