Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.WebAuthn.Credential
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Credential } = default.WebAuthn;

Properties

credentialId: string
isResidentCredential: boolean
optional
rpId: string

Relying Party ID the credential is scoped to. Must be set when adding a credential.

privateKey: string

The ECDSA P-256 private key in PKCS#8 format.

optional
userHandle: string

An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.

signCount: integer

Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter