PublicKeyCredential extension type

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. It inherits from Credential, and is part of the Web Authentication API extension to the Credential Management API.

Note: This API is restricted to top-level contexts. Use from within an iframe element will not have any effect.

on
Implemented types

Properties

authenticatorAttachment String?
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
rawId JSArrayBuffer
no setter
response AuthenticatorResponse
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setterinherited

Methods

getClientExtensionResults() AuthenticationExtensionsClientOutputs
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() PublicKeyCredentialJSON
The toJSON() method of the PublicKeyCredential interface returns a of a PublicKeyCredential.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited