AssertionExpectations
Defined in: webauthn.ts:27
Properties
Section titled “Properties”alg:
number
Defined in: webauthn.ts:31
COSE alg of the key; only -7 is accepted.
challenge
Section titled “challenge”challenge:
Uint8Array
Defined in: webauthn.ts:33
The challenge the worker handed the page (raw bytes; the page sent it base64url in clientDataJSON).
crypto?
Section titled “crypto?”
optionalcrypto?:Crypto
Defined in: webauthn.ts:40
origin
Section titled “origin”origin:
string
Defined in: webauthn.ts:35
chrome-extension://<id>
publicKey
Section titled “publicKey”publicKey:
string
Defined in: webauthn.ts:29
SPKI public key of the credential, base64 (what getPublicKey() returned at registration).
requireUserVerification?
Section titled “requireUserVerification?”
optionalrequireUserVerification?:boolean
Defined in: webauthn.ts:39
Require the UV flag (user verification: biometric / PIN) — on for signing.
rpId:
string
Defined in: webauthn.ts:37
The RP id the credential was created for (the extension id); its SHA-256 must be the first 32 bytes of authenticatorData.