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
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 ''
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
Base64url and a credential's JSON form. A static utility class.