PublicKeyCredential
The PublicKeyCredential
interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password. Available only in secure contexts.
Properties
The authenticatorAttachment
read-only property of the PublicKeyCredential interface is a string that indicates the general category of authenticator used during the associated CredentialsContainer.create() or CredentialsContainer.get() call.
The rawId
read-only property of the containing the identifier of the credentials.
The response
read-only property of the object which is sent from the authenticator to the user agent for the creation/fetching of credentials.
Functions
The getClientExtensionResults()
method of the PublicKeyCredential interface returns a map between the identifiers of extensions requested during credential creation or authentication, and their results after processing by the user agent.
The toJSON()
method of the PublicKeyCredential interface returns a JSON type representation of a PublicKeyCredential.