StaticassertedAn assertion's answer, as the server reads it.
the PublicKeyCredential
the JSON form
Staticb64uBase64url of bytes, no padding.
an ArrayBuffer or a view
the encoding
StaticbytesBytes of a base64url string.
the encoding
the bytes
StaticcapabilitiesWhat the platform reports about itself, where it reports anything:
PublicKeyCredential.getClientCapabilities(), feature-detected.
the browser's window
the promise of the capability record, or of null
StaticcreatedA registration's answer, as the server reads it.
the PublicKeyCredential
the JSON form
StaticcreationThe extensions of a registration, from the server's options.
the server's creation options
the extensions, or undefined where none is asked
StaticdropRemoves the flat extension members from a copy of the server's options a runtime hands the browser whole.
the copy
nothing
StaticfailureHow a failed registration's error reads (#944): unsupported for
NotSupportedError, uncertain for NotAllowedError and
UnknownError, '' for anything else.
the error's name
the kind, or ''
StaticmissingWhether this browser lacks what a WebAuthn ceremony needs:
PublicKeyCredential, and navigator.credentials with the call asked.
the browser's navigator
the browser's window, for PublicKeyCredential
Optionalcall: string
optional; create or get, both where left out
true when the ceremony cannot run
StaticmissingThe sentence a page without WebAuthn draws, in its language.
the page's translator, or null
the text
StaticofferShows the page's guidance after a registration failed (#944), where the page drew one and the error is one it is for; the failure is reported either way it is handled.
the document
the window
what the ceremony threw
{ surface, fallback }: the page's surface and the
server's fallback facts
the promise of whether the guidance was shown, in place of sending the failure on
StaticreportReports a ceremony that failed in the browser through its owning surface.
{ surface, ceremony, error, kind, capabilities, offered, retrying }
Optionalsend: (error: string, capabilities: any) => void
the surface's authenticated ceremony operation
nothing
StaticrequestThe extensions of an assertion, from the server's options: the
legacy U2F appid (WebAuthn Level 3 section 10.1.1).
the server's request options
the extensions, or undefined where none is asked
Base64url and a credential's JSON form. A static utility class.