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.