Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.WebAuthn.Credential

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.WebAuthn.Credential
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { Credential } = Protocol.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. (Encoded as a base64 string when passed over JSON)

optional
userHandle: string

An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user. (Encoded as a base64 string when passed over JSON)

signCount: integer

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

optional
largeBlob: string

The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)