@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias PasskeyAssertion

    PasskeyAssertion:
        | { credential: string; credentialId: string; ok: true }
        | { ok: false; reason: "cancelled" | "unsupported" }

    The browser half of a passkey sign-in (request options in, signed assertion out) and registration (creation options in, attestation out), all as JSON strings the provider speaks.

    Type Declaration

    • { credential: string; credentialId: string; ok: true }
    • { ok: false; reason: "cancelled" | "unsupported" }

      cancelled: the prompt was closed or timed out; unsupported: no WebAuthn here.