WebAuthn level 3 spec introduces a new attribute on successful WebAuthn interactions, see https://w3c.github.io/webauthn/#dom-publickeycredential-authenticatorattachment. This attribute is already implemented for Chrome, Safari and Edge.
Given the attribute is only available after a successful interaction, the information is
provided opportunistically and might also be undefined
.
Get the principal represented by this identity. Normally should be a
Principal.selfAuthenticating()
.
Allow for JSON serialization of all information needed to reuse this identity.
Transform a request into a signed version of the request. This is done last after the transforms on the body of a request. The returned object can be anything, but must be serializable to CBOR.
internet computer request to transform
Create an identity.
an optional CredentialCreationOptions Challenge
Create an identity from a JSON serialization.
json to parse
Generated using TypeDoc
A SignIdentity that uses
navigator.credentials
. See https://webauthn.guide/ for more information about WebAuthentication.