Type Alias PasskeyAssertion
PasskeyAssertion:
| { credential: string; credentialId: string; ok: true }
| { ok: false; reason: "cancelled" | "unsupported" }
Type Declaration
- { 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.